Skip to content

Commit

Permalink
[Fix]: 修复人物页面的条件目录内容加载问题
Browse files Browse the repository at this point in the history
  • Loading branch information
why committed Apr 10, 2024
1 parent 3cdcabc commit 00be7dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ class PersonOverviewViewModel : BaseViewModel() {
AdapterTypeItem(
entity = entity.recommendIndexes.map {
SampleImageEntity(
it.userId,
it.userAvatar,
it.title,
String.format("by:%s", it.userName),
BgmPathType.TYPE_INDEX
id = it.id,
image = it.userAvatar,
title = it.title,
desc = String.format("by:%s", it.userName),
type = BgmPathType.TYPE_INDEX
)
},
type = PersonOverviewAdapter.TYPE_INDEX,
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/layout/fragment_person_overview.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
android:id="@+id/rv_content"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
android:orientation="vertical"
android:paddingBottom="@dimen/ui_size_25"
tools:itemCount="10" />

<com.xiaoyv.common.widget.state.AnimeStateView
Expand Down

0 comments on commit 00be7dc

Please sign in to comment.