Android代码-更简单地设置EmptyView支持AdapterView、RecyclerView

时间:2022-08-25 22:35:10
【文件属性】:

文件名称:Android代码-更简单地设置EmptyView支持AdapterView、RecyclerView

文件大小:195KB

文件格式:ZIP

更新时间:2022-08-25 22:35:10

Android代码

中文说明在这里 TEmptyView Just a Wheel—— A easier way to setEmptyView. Without having to write xml file every time. It supports AdapterView(ListView,GridView,etc) and RecyclerView. Dependency compile 'com.barryzhang:temptyview:0.0.1' Usage I. Initialize initialize some custom attributes —— this step is not necessary, if you don't do it, it will use the default settings. TEmptyView.init(TViewUtil.EmptyViewBuilder.getInstance(context) .setShowText(true) .setEmptyText("NO DATA")


【文件预览】:
TEmptyView-master
----.gitignore(66B)
----settings.gradle(31B)
----build.gradle(643B)
----etc()
--------demo1.png(36KB)
--------demo2.png(39KB)
----README.cn.md(2KB)
----gradlew(5KB)
----README.md(3KB)
----gradlew.bat(2KB)
----demo()
--------.gitignore(7B)
--------build.gradle(822B)
--------src()
--------proguard-rules.pro(657B)
----gradle.properties(855B)
----gradle()
--------wrapper()
----temptyview()
--------.gitignore(7B)
--------build.gradle(1KB)
--------src()
--------proguard-rules.pro(657B)

网友评论