diff --git a/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/PersonOverviewAdapter.kt b/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/PersonOverviewAdapter.kt index ee725bab..a56d6acd 100644 --- a/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/PersonOverviewAdapter.kt +++ b/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/PersonOverviewAdapter.kt @@ -50,8 +50,8 @@ class PersonOverviewAdapter( RouteHelper.jumpMediaDetail(id) } }, - clickPersonItem = { - RouteHelper.jumpPerson(it.id, false) + clickCharacterItem = { + RouteHelper.jumpPerson(it.id, true) } )) .addItemType(TYPE_OPUS, PersonOverviewOpusBinder { diff --git a/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/binder/PersonOverviewCharacterBinder.kt b/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/binder/PersonOverviewCharacterBinder.kt index 64894a1e..a78e7ff8 100644 --- a/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/binder/PersonOverviewCharacterBinder.kt +++ b/app/src/main/java/com/xiaoyv/bangumi/ui/feature/person/overview/binder/PersonOverviewCharacterBinder.kt @@ -25,14 +25,14 @@ import com.xiaoyv.widget.binder.BaseQuickDiffBindingAdapter * @since 12/6/23 */ class PersonOverviewCharacterBinder( - private val clickPersonItem: (CharacterEntity) -> Unit, + private val clickCharacterItem: (CharacterEntity) -> Unit, private val clickMediaItem: (CharacterEntity) -> Unit, ) : BaseMultiItemAdapter.OnMultiItemAdapterListener> { private val itemAdapter by lazy { ItemAdapter().apply { - setOnDebouncedChildClickListener(R.id.item_character, block = clickPersonItem) - setOnDebouncedChildClickListener(R.id.iv_avatar, block = clickPersonItem) + setOnDebouncedChildClickListener(R.id.item_character, block = clickCharacterItem) + setOnDebouncedChildClickListener(R.id.iv_avatar, block = clickCharacterItem) setOnDebouncedChildClickListener(R.id.iv_cover, block = clickMediaItem) } } diff --git a/app/src/main/res/layout/activity_summary.xml b/app/src/main/res/layout/activity_summary.xml index 83dc6c84..45884a98 100644 --- a/app/src/main/res/layout/activity_summary.xml +++ b/app/src/main/res/layout/activity_summary.xml @@ -38,7 +38,7 @@ android:clickable="true" android:focusable="true" android:isScrollContainer="false" - android:lineSpacingMultiplier="1.25" + android:lineSpacingMultiplier="1.5" android:padding="@dimen/ui_layout_margin" android:textAppearance="?attr/textAppearanceBodyLarge" android:textColor="?attr/colorOnSurface"