mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-28 03:51:02 +00:00
feat(socials): ratings and progress
This commit is contained in:
@@ -5,5 +5,10 @@ data class User(
|
||||
val name: String,
|
||||
val pfp: String?,
|
||||
val banner: String?,
|
||||
val info: String? = null,
|
||||
// for media
|
||||
val status: String? = null,
|
||||
val score: Float? = null,
|
||||
val progress: Int? = null,
|
||||
val totalEpisodes : Int? = null,
|
||||
val nextAiringEpisode : Int? = null,
|
||||
)
|
||||
@@ -40,7 +40,7 @@ class UsersAdapter(private val user: ArrayList<User>) : RecyclerView.Adapter<Use
|
||||
setAnimation(b.root.context, b.root)
|
||||
val user = user[position]
|
||||
b.profileUserAvatar.loadImage(user.pfp)
|
||||
blurImage(b.profileBannerImage, user.banner ?: user.pfp)
|
||||
b.profileBannerImage.loadImage(user.banner ?: user.pfp)
|
||||
b.profileUserName.text = user.name
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user