Comments (3)
@cabuhatprince
Sorry, I don't get what you mean.
This is the library for recyclerview.
Please explain more in detail.
from recyclerview-multipleviewtypesadapter.
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.
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)
- Error when trying to clear items in the binder HOT 2
- Add new binder dynamically HOT 2
- getItemViewType in EnumMapBindAdapter HOT 1
- very slow!
- Adding multiple Binder
- How to delete binder? HOT 4
- Cannot be cast to ... HOT 1
- Is it possible to arrange the items in organised manner HOT 1
- Listening to clicks in each ViewHolder
- Clever notifyBinderDataSetChanged HOT 1
- unbindViewHolder HOT 3
- ClassCastException: A$ViewHolder cannot be cast to B$ViewHolder HOT 2
- two dynamic lists HOT 2
- wrong position for getPosition(DataBinder binder, int binderPosition) HOT 2
- how to implements StaggeredGridLayoutManager with the multipleViewTypesAdapter HOT 1
- Manage 4 Binders HOT 1
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 recyclerview-multipleviewtypesadapter.