mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
SubscriptionAdapter bug
This commit is contained in:
parent
4d86f49153
commit
843721e8ac
@ -11,8 +11,8 @@
|
||||
"type": "SINGLE",
|
||||
"filters": [],
|
||||
"attributes": [],
|
||||
"versionCode": 3,
|
||||
"versionName": "0.2.1",
|
||||
"versionCode": 4,
|
||||
"versionName": "0.2.2",
|
||||
"outputFile": "app-release.apk"
|
||||
}
|
||||
],
|
||||
|
@ -88,7 +88,7 @@ class Subscriptions : Fragment() {
|
||||
if (response.isNotEmpty()){
|
||||
subscriptionAdapter = SubscriptionAdapter(response)
|
||||
feedRecView?.adapter= subscriptionAdapter
|
||||
|
||||
subscriptionAdapter?.updateItems()
|
||||
}
|
||||
progressBar.visibility=View.GONE
|
||||
isLoaded=true
|
||||
|
@ -19,7 +19,7 @@ import com.github.libretube.videoViews
|
||||
|
||||
class SubscriptionAdapter(private val videoFeed: List<StreamItem>): RecyclerView.Adapter<SubscriptionViewHolder>() {
|
||||
//private var limitedVideoFeed: MutableList<String> = [""].toMutableList()
|
||||
var i = 10
|
||||
var i = 0
|
||||
override fun getItemCount(): Int {
|
||||
return i
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user