Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
3d822bd2
authored
Feb 08, 2019
by
aquilescanta
Committed by
Andrew Lewis
Feb 18, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Rename ExoCastPlayerManager to PlayerManager
PiperOrigin-RevId: 233089799
parent
ef139b2e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/MainActivity.java
demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/PlayerManager.java
demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/MainActivity.java
View file @
3d822bd2
...
@@ -48,13 +48,13 @@ import java.util.Collections;
...
@@ -48,13 +48,13 @@ import java.util.Collections;
* Cast extension.
* Cast extension.
*/
*/
public
class
MainActivity
extends
AppCompatActivity
public
class
MainActivity
extends
AppCompatActivity
implements
OnClickListener
,
ExoCast
PlayerManager
.
QueueChangesListener
{
implements
OnClickListener
,
PlayerManager
.
QueueChangesListener
{
private
final
MediaItem
.
Builder
mediaItemBuilder
;
private
final
MediaItem
.
Builder
mediaItemBuilder
;
private
PlayerView
localPlayerView
;
private
PlayerView
localPlayerView
;
private
PlayerControlView
castControlView
;
private
PlayerControlView
castControlView
;
private
ExoCast
PlayerManager
playerManager
;
private
PlayerManager
playerManager
;
private
RecyclerView
mediaQueueList
;
private
RecyclerView
mediaQueueList
;
private
MediaQueueListAdapter
mediaQueueListAdapter
;
private
MediaQueueListAdapter
mediaQueueListAdapter
;
private
CastContext
castContext
;
private
CastContext
castContext
;
...
@@ -117,7 +117,7 @@ public class MainActivity extends AppCompatActivity
...
@@ -117,7 +117,7 @@ public class MainActivity extends AppCompatActivity
return
;
return
;
}
}
playerManager
=
playerManager
=
new
ExoCast
PlayerManager
(
new
PlayerManager
(
/* queueChangesListener= */
this
,
/* queueChangesListener= */
this
,
localPlayerView
,
localPlayerView
,
castControlView
,
castControlView
,
...
...
demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/PlayerManager.java
0 → 100644
View file @
3d822bd2
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment