mirror of
https://github.com/TeamNewPipe/NewPipe.git
synced 2025-10-06 03:50:22 +02:00
Altered grid view similar to Youtube app layout
This commit is contained in:
parent
28464344c1
commit
c607089cbb
3 changed files with 9 additions and 6 deletions
|
@ -3,6 +3,7 @@ package org.schabi.newpipe.local.subscription.item
|
|||
import android.content.Context
|
||||
import android.os.Parcelable
|
||||
import android.view.View
|
||||
import androidx.recyclerview.widget.GridLayoutManager
|
||||
import androidx.recyclerview.widget.LinearLayoutManager
|
||||
import com.xwray.groupie.GroupAdapter
|
||||
import com.xwray.groupie.viewbinding.BindableItem
|
||||
|
@ -43,7 +44,7 @@ class FeedGroupCarouselItem(
|
|||
adapter = carouselAdapter
|
||||
addItemDecoration(feedGroupCarouselDecoration)
|
||||
}
|
||||
|
||||
viewHolder.recyclerView.setLayoutManager(GridLayoutManager(view.context, 3))
|
||||
return viewHolder
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue