Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom mini controller is getting disappeared randomly. #101

Open
souravbasu14 opened this issue Jan 22, 2021 · 0 comments
Open

Custom mini controller is getting disappeared randomly. #101

souravbasu14 opened this issue Jan 22, 2021 · 0 comments

Comments

@souravbasu14
Copy link

Hi,
We are trying to customize mini controller and seeing a random behavior. Minicontroller is getting hidden and giving a flicker.
Attached is a captured video of for the same.
https://user-images.githubusercontent.com/10879439/105458333-5bd9d700-5cae-11eb-91a5-0f503e5a279a.mp4

We have tried the below to customize the minicontroller:

  1. In player_activity.xml
    a. Replaced class="com.google.android.gms.cast.framework.media.widget.MiniControllerFragment"
    with custom class class="com.google.sample.cast.refplayer.expandedcontrols.MiniController"
  2. Added a java class MiniController which extends MiniControllerFragment
    a. Created custom layout for mini controller : cast_mini_controller_custom
    b. Used bind view methods to bind view to use
    Attached is the github sample code with that change.
    CastVideos-android-master.zip

Please let me know if anything we are missing.

@souravbasu14 souravbasu14 changed the title Custom mini controller is not getting disappeared randomly. Custom mini controller is getting disappeared randomly. Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant