Skip to content
#

android-library

Here are 4,245 public repositories matching this topic...

⚔️ A common architecture for Android applications developing based on MVP, integrates many open source projects, to make your developing quicker and easier (一个整合了大量主流开源项目高度可配置化的 Android MVP 快速集成框架).

  • Updated Oct 20, 2020
  • Java
MrShuHong
MrShuHong commented Oct 23, 2020

目前更新adapter只能使用一种方式
var items = emptyList<String>() var mMultiTypeAdapter = MultiTypeAdapter() mMultiTypeAdapter.items = items mMultiTypeAdapter.notifyDataSetChanged()

每次都需要在外面,新建一个items,然后设置给adapter替换掉,假如我如果想
`
var items = emptyList()
var mMultiTypeAdapter = MultiTypeAdapter()
mMultiTypeAdapter.items = items
mMultiTypeAdapter.notifyDataSetChanged()

//第二次请求到数据
var it

Improve this page

Add a description, image, and links to the android-library topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the android-library topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.