0

Want to realize same functionality(mini-player in-app only) currently, I realized it using fragment on the foreground. But it works only when 1 activity. And if use many activities fragment will be recreated and it's not ok when user watching the video.

So, maybe someone can recommend a better solution/example. I have checked the solution with widgets(Not for this case).

youtube mini player

Cœur
  • 37,241
  • 25
  • 195
  • 267
one_man
  • 135
  • 2
  • 14

1 Answers1

1

I realise that you discarded the widget possibility but i would still recommend you check it again in this example.

It shows and updates data on one xml which you could expand on screen and reuse or discard if needed.

Dressy Fiddle
  • 163
  • 10