mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
fix some scrolling issues
This commit is contained in:
parent
214aaf6612
commit
576f72bc36
@ -24,7 +24,7 @@ class HomeModel : ViewModel() {
|
||||
runOrError(appContext) {
|
||||
if (trending.value.isNullOrEmpty()) {
|
||||
trending.postValue(
|
||||
RetrofitInstance.api.getTrending(trendingRegion).withMaxSize(20)
|
||||
RetrofitInstance.api.getTrending(trendingRegion).withMaxSize(10)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -37,13 +37,20 @@
|
||||
style="@style/HomeCategoryTitle"
|
||||
android:text="@string/trending" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/trendingRV"
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:nestedScrollingEnabled="false"
|
||||
android:visibility="gone" />
|
||||
android:descendantFocusability="blocksDescendants">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/trendingRV"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:nestedScrollingEnabled="false"
|
||||
android:visibility="gone" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/playlistsTV"
|
||||
|
Loading…
x
Reference in New Issue
Block a user