SubscriptionAdapter bug

This commit is contained in:
rimthekid 2022-02-14 08:24:46 +04:00
parent 4d86f49153
commit 843721e8ac
3 changed files with 4 additions and 4 deletions

View File

@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 3,
"versionName": "0.2.1",
"versionCode": 4,
"versionName": "0.2.2",
"outputFile": "app-release.apk"
}
],

View File

@ -88,7 +88,7 @@ class Subscriptions : Fragment() {
if (response.isNotEmpty()){
subscriptionAdapter = SubscriptionAdapter(response)
feedRecView?.adapter= subscriptionAdapter
subscriptionAdapter?.updateItems()
}
progressBar.visibility=View.GONE
isLoaded=true

View File

@ -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
}