niorgai / betteradapter Goto Github PK
View Code? Open in Web Editor NEWJava sample for https://medium.com/@dpreussler/writing-better-adapters-1b09758407d2
Java sample for https://medium.com/@dpreussler/writing-better-adapters-1b09758407d2
請問點擊事件有辦法拉到activity寫嗎?
目前我在Item內如果需要點擊,都是把需要點擊的原件如button 帶到Item內,並且用ItemViewHolder去做點擊。
但目前有六個CheckBox利用您的這個框架寫成,複選題。
我實在想不到如果我選了其中兩個,要怎麼把資料帶到activity內操作。
你好
看了你的文章覺得很有意思
想問您我使用你這框架 在MainAdapter內 setData
MainAdapter的地方想要notify更新 adapter
但是他沒有更新
這是我寫在MainAdapter內的寫法
public void setData(TypeFactory mTypeFactory,List mVisitables) {
this.mTypeFactory = mTypeFactory;
this.mVisitables = mVisitables;
notifyDataSetChanged();
}
anyIdea 有解法嗎?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.