-
How to create an android APP which displays list of videos and Play that videos in the same window?
over 8 years ago
-
over 8 years ago
Create a listview or recyclerview on half of the screen and add videoview to other half
Load the link to videos from sdcard to listview Start video using the Uri .
-
-
over 8 years ago
- Create Vertical LinearLayout.
- Create Video View with weight 1 inside Linear Layout.
- Create RecyclerView/ListView with weight 1 inside Linear Layout.
- Add Video List to RecyclerView/ListView.
- Implement onItemClickListener of ListView(if you are using) to get position of Item.
- Get Item from your list and play into Video View.
-
2 Answer(s)