修复界面问题
This commit is contained in:
@@ -324,6 +324,7 @@ class BookshelfFragment2() : BaseBookshelfFragment(R.layout.fragment_bookshelf2)
|
|||||||
val intent = Intent(requireContext(), BookInfoActivity::class.java).apply {
|
val intent = Intent(requireContext(), BookInfoActivity::class.java).apply {
|
||||||
putExtra("name", item.name)
|
putExtra("name", item.name)
|
||||||
putExtra("author", item.author)
|
putExtra("author", item.author)
|
||||||
|
putExtra("bookUrl", item.bookUrl)
|
||||||
putExtra("transitionName", "book_${item.bookUrl}") // 给共享元素唯一标识
|
putExtra("transitionName", "book_${item.bookUrl}") // 给共享元素唯一标识
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -182,6 +182,7 @@
|
|||||||
android:id="@+id/chipGroupOrder"
|
android:id="@+id/chipGroupOrder"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
app:selectionRequired="true"
|
||||||
app:singleSelection="true">
|
app:singleSelection="true">
|
||||||
|
|
||||||
<com.google.android.material.chip.Chip
|
<com.google.android.material.chip.Chip
|
||||||
|
|||||||
Reference in New Issue
Block a user