2024-06-22 04:25:20 +08:00
|
|
|
package com.aiosman.riderpro
|
|
|
|
|
|
|
|
|
|
import androidx.annotation.DrawableRes
|
|
|
|
|
|
|
|
|
|
data class MomentItem(
|
|
|
|
|
val id: Int,
|
|
|
|
|
@DrawableRes val avatar: Int,
|
|
|
|
|
val nickname: String,
|
|
|
|
|
val location: String,
|
|
|
|
|
val time: String,
|
|
|
|
|
val followStatus: Boolean,
|
|
|
|
|
val momentTextContent: String,
|
|
|
|
|
@DrawableRes val momentPicture: Int,
|
|
|
|
|
val likeCount: Int,
|
|
|
|
|
val commentCount: Int,
|
|
|
|
|
val shareCount: Int,
|
|
|
|
|
val favoriteCount: Int
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
val momentTestItem = MomentItem(
|
|
|
|
|
id = 1,
|
|
|
|
|
avatar = R.drawable.default_avatar,
|
|
|
|
|
nickname = "Onyama Limba",
|
|
|
|
|
location = "Japan",
|
|
|
|
|
time = "2023.02.02 11:23",
|
|
|
|
|
followStatus = false,
|
|
|
|
|
momentTextContent = "By strongarming Ducati into giving him the factory seat.Marquez effectively …",
|
|
|
|
|
momentPicture = R.drawable.default_moment_img,
|
|
|
|
|
likeCount = 21,
|
|
|
|
|
commentCount = 43,
|
|
|
|
|
shareCount = 33,
|
|
|
|
|
favoriteCount = 211)
|
|
|
|
|
|
|
|
|
|
val profileMomentItems = listOf(
|
|
|
|
|
MomentItem(
|
|
|
|
|
id = 1,
|
|
|
|
|
avatar = R.drawable.default_avatar,
|
|
|
|
|
nickname = "Onyama Limba",
|
|
|
|
|
location = "Japan",
|
|
|
|
|
time = "2024.06.08 12:23",
|
|
|
|
|
followStatus = false,
|
|
|
|
|
momentTextContent = "Modifications that are made to make your motorbike more like you",
|
|
|
|
|
momentPicture = R.drawable.rider_pro_moment_demo_1,
|
|
|
|
|
likeCount = 2345,
|
|
|
|
|
commentCount = 12,
|
|
|
|
|
shareCount = 33,
|
|
|
|
|
favoriteCount = 211),
|
|
|
|
|
MomentItem(
|
2024-07-20 16:06:37 +08:00
|
|
|
id = 2,
|
2024-06-22 04:25:20 +08:00
|
|
|
avatar = R.drawable.default_avatar,
|
|
|
|
|
nickname = "Onyama Limba",
|
|
|
|
|
location = "Japan",
|
|
|
|
|
time = "2024.03.03 12:31",
|
|
|
|
|
followStatus = false,
|
|
|
|
|
momentTextContent = "At least 500 units will be made, to meet homologation requirements.",
|
|
|
|
|
momentPicture = R.drawable.rider_pro_moment_demo_2,
|
|
|
|
|
likeCount = 211,
|
|
|
|
|
commentCount = 33,
|
|
|
|
|
shareCount = 33,
|
|
|
|
|
favoriteCount = 211),
|
|
|
|
|
MomentItem(
|
2024-07-20 16:06:37 +08:00
|
|
|
id = 3,
|
2024-06-22 04:25:20 +08:00
|
|
|
avatar = R.drawable.default_avatar,
|
|
|
|
|
nickname = "Onyama Limba",
|
|
|
|
|
location = "Japan",
|
|
|
|
|
time = "2024.02.02 11:23",
|
|
|
|
|
followStatus = false,
|
|
|
|
|
momentTextContent = "The bike is already FIM legal (and soon-to-be MotoAmerica legal as well).",
|
|
|
|
|
momentPicture = R.drawable.rider_pro_moment_demo_3,
|
|
|
|
|
likeCount = 987,
|
|
|
|
|
commentCount = 21,
|
|
|
|
|
shareCount = 33,
|
|
|
|
|
favoriteCount = 211)
|
|
|
|
|
)
|