Giter VIP home page Giter VIP logo

Comments (3)

yqritc avatar yqritc commented on June 10, 2024

@cabuhatprince
Sorry, I don't get what you mean.
This is the library for recyclerview.
Please explain more in detail.

from recyclerview-multipleviewtypesadapter.

cabuhatprince avatar cabuhatprince commented on June 10, 2024

screen shot 2015-08-28 at 7 57 17 pm

hi, im trying to display this two in one view then i use your framework, but i dont know how to display the gridviewlayout in which i also have a linearlayout view please see the picture thankyouuuuu.

from recyclerview-multipleviewtypesadapter.

yqritc avatar yqritc commented on June 10, 2024

@cabuhatprince

Sorry, it's still not so clear for me what u are asking me><

Are u trying to make the above layout by using recyclerview?
If yes, u need to define view types for the layout.
eg.

  • ViewType1: "Fun Run..." layout
  • ViewType2: The layout consisting of icon and text
  • ViewType3: bold text label
  • ViewType4: gridViewLayout (if it's layout is scrollable, u may be able to use horizontal recyclerview)
  • ViewType5: paw print layout including icon, name?, date, comment?
  • ViewType6: edittext and button

Maybe the above classification is too complex...
Please consider how do u classify in terms of view reusability. (the layout may be better to create by not using recyclerview, but scrollview + LinearLayout)
Then, create data binder classes for each view type and manage binders by creating DataBindAdapter class.

Hope this helps you...

from recyclerview-multipleviewtypesadapter.

Related Issues (17)

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.