Giter VIP home page Giter VIP logo

betteradapter's People

Contributors

niorgai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

betteradapter's Issues

點擊事件

請問點擊事件有辦法拉到activity寫嗎?

目前我在Item內如果需要點擊,都是把需要點擊的原件如button 帶到Item內,並且用ItemViewHolder去做點擊。

但目前有六個CheckBox利用您的這個框架寫成,複選題。
我實在想不到如果我選了其中兩個,要怎麼把資料帶到activity內操作。

關於 notifyDataSetChanged();

你好

看了你的文章覺得很有意思

想問您我使用你這框架 在MainAdapter內 setData

MainAdapter的地方想要notify更新 adapter
但是他沒有更新
這是我寫在MainAdapter內的寫法

public void setData(TypeFactory mTypeFactory,List mVisitables) {
this.mTypeFactory = mTypeFactory;
this.mVisitables = mVisitables;
notifyDataSetChanged();
}

anyIdea 有解法嗎?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.