Skip to content

Commit

Permalink
doc: 文档注释
Browse files Browse the repository at this point in the history
  • Loading branch information
liangjingkanji committed Jul 17, 2023
1 parent 6a14618 commit 47c95b9
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ class HomeListFragment : EngineFragment<FragmentHomeListBinding>(R.layout.fragme

binding.rv.setup {
addType<HomeModel.Event>(R.layout.item_home_image)

// 当你添加两个相同类型的嵌套泛型时为防止擦除泛型, 请注意查看HomeModel.getAvailableData的处理
addType<List<HomeModel.Banner>>(R.layout.item_home_banner)
addType<List<HomeModel.Explore>>(R.layout.item_home_grid)
addType<GameModel.Data>(R.layout.item_game)
Expand Down

0 comments on commit 47c95b9

Please sign in to comment.