Use RelativeLayout to put the Player and video list in one layout. The video list uses ListView or RecycleView. The default is View.GONE. Click the button to set the RecycleView display and load the video list. Then listen for click events inside, and Player responds to click events.
PS: It is recommended that you look for a few complete video player projects from GitHub. Focus on the overall design, and you can ignore the details. Wait until the entire architecture is clear, and then slowly dig out the details. Otherwise, if you have a great idea and ask questions everywhere you go, it will really take a lot of time and effort.
Use RelativeLayout to put the Player and video list in one layout. The video list uses ListView or RecycleView. The default is View.GONE. Click the button to set the RecycleView display and load the video list. Then listen for click events inside, and Player responds to click events.
PS: It is recommended that you look for a few complete video player projects from GitHub. Focus on the overall design, and you can ignore the details. Wait until the entire architecture is clear, and then slowly dig out the details. Otherwise, if you have a great idea and ask questions everywhere you go, it will really take a lot of time and effort.
is anybody here?