I'm making an app that uses a video feed. There will be several UI elements displayed on the screen. Based on what buttons the user clicks, the UI will evolve and show different buttons/options.
What's the best way to implement the changing UI in terms of activities. Should I use 1 activity,(so that I only have to load the video buffer one time), and update the UI setup within that activity? OR, should I have a different activitty for each UI combination, reloading the video in the background each time?
碎片在这里会是一个不错的选择吗?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.