RoomPager

RoomPager is 4-directional recycle pager view for create shortform video platform like youtube shorts and reels.

Usage

You can use it by implementing an Adapter and a ViewHolder, just like Android RecyclerView (not exactly the same. sry)

Explanation (Korean)

classDiagram
    RoomPager *-- VerticalScrollPager
    VerticalScrollPager *-- HorizontalScrollPager
    HorizontalScrollPager *-- RoomRecycler
    RoomRecycler "1" *-- "n" RoomPlayer
ScrollPager <|-- VerticalScrollPager
ScrollPager <|-- HorizontalScrollPager
RoomPlayer <|-- YoutubeRoomPlayer

Demo

Diggin’ Room

demo.webm

GitHub

View Github