Comments (10)
调用下面的方法
headerAdapter.notifyDataSetChanged();
from indexablerecyclerview.
数据传不进去,调用了也没有什么用吧
from indexablerecyclerview.
没明白, 你可以看下PickCityActivity,“定位中” 刷新数据的 代码
from indexablerecyclerview.
删除不行吧
from indexablerecyclerview.
删除header内的数据可以,移除整个headerView的功能todo
from indexablerecyclerview.
调用data.get(position).setName(),再调用notifyDataSetChanged()可以更新,
应该时因为对象引用的关联吧,
但是data.clear()(或者data.add(obj)),再调用notifyDataSetChanged()并不能更新
from indexablerecyclerview.
嗯 确实有这个问题,稍后会解决这个问题 感谢反馈啦
from indexablerecyclerview.
还有一个问题,IndexableLayout onDataChanged()中post()方法不能百分之百执行
http://blog.5ibc.net/p/28158.html
为什么不使用post(),数据更新就会有问题?
from indexablerecyclerview.
感谢 post的问题 现在添加了安全的getSafeHandler()的post方式 :)
文章里详细的从源码分析了原因
from indexablerecyclerview.
已经push了 1.0.5
添加
indexableLayout.removeHeaderAdapter()
, indexableLayout.removeFooterAdapter();
header/footerAdapter.addData()
, header/footerAdapter.removeData()
addData(int position, data)等方法 因当前代码结构实现较繁琐,回头有空再更新~
from indexablerecyclerview.
Related Issues (20)
- 能否提供api外部直接设置索引Bar数据
- setDatas 时能不刷新 header吗?
- 土耳其语言首字母为I的识别出来不是i,希望作者能修复下。
- 1.3.0引入了重复的tinypinyin-android库(这个库没有被用到,工程里应该在sample project引入,而不是在lib里引入),而且PinyinUtil里面引入了的com.github.promeg.pinyinhelper.Pinyin更新不下来 HOT 1
- notifyItemChanged 能否暴漏出来
- 一个很离奇的XML崩溃报错 HOT 1
- 关于 拼音库【 TinyPinyin 】 依赖问题,可以参考下
- 滑动后 字母吸顶不显示 是什么鬼 HOT 1
- 请问 布局item上添加button按钮 点击请求网络 如何拿到当前item的信息作为参数上传?
- 请问怎么获取右侧indexbar
- 默认没有按照首字母排序
- jcenter跑路啦,有迁移计划吗 HOT 1
- 想要在适配器中获取元素的下标 position,怎么操作?
- 1.30版本 刷新方法被注释
- 大神,拼音的jar包有时候根本依赖不下来啊
- 热门和 定位顺序问题
- 无法滑动,我使用的是LinearLayoutManager HOT 1
- tinypinyin.lexicons 依赖冲突 HOT 4
- 关于header定制不灵活的建议
- 可以隐藏没有数据的 索引么
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from indexablerecyclerview.