Links

Video Feed Layouts

Adding VideoFeedView to your view hierarchy is as easy as adding the below XML snippet. This will result in default values for all the attributes.
<com.loopnow.fireworklibrary.views.VideoFeedView
android:layout_width="match_parent"
android:layout_height="{desired_height}"
/>
app:feedLayout - By default VideoFeedView lays out thumbnails in horizontal layout with height specified by the attribute android:layout_height . But you can configure VideoFeedView to display thumbnails as vertical scrolling as well as grid layout. Please refer to the examples below to select what works for you the best.

Horizontal Layout

<com.loopnow.fireworklibrary.views.VideoFeedView
android:layout_width="match_parent"
android:layout_height="{desired_height}"
app:feedLayout="horizontal"
/>

Vertical Layout

<com.loopnow.fireworklibrary.views.VideoFeedView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:feedLayout="vertical"
/>

Grid Layout

<com.loopnow.fireworklibrary.views.VideoFeedView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:feedLayout="grid"
/>