Comments (4)
Hi @ahaverty,
Have a look on the Animations example in the demo app, there is code there refreshing individual items in a section.
Let me know if you still have issues.
Cheers
from sectionedrecyclerviewadapter.
Interesting! I'll give that a shot and report back 👌 Thanks for the help
from sectionedrecyclerviewadapter.
Thanks @luizgrp
I've since gone back to using native recycler views with sorted lists doing the updating work form me (see here for an example). I don't think this repo could currently support sorted lists like that, as it looks like the category headers are actually adapted list items.
I've gone with this as I'm using Firebase and doing a lot of complex asynchronous realtime updates with lists, and was finding it tedious manually updating the list.
If you think Sorted List could fit in with Sectioned Recycler View Adapter, i'd love to hear your suggestions.
Thanks for a great repo 👍
from sectionedrecyclerviewadapter.
Thanks for the update!
Section headers are just items in the RecyclerView but they are not items in your section's list. Thus I see no problem in using SortedList with this adapter, you will just have to adapt the code from the SO link you posted to use the notify methods from this adapter instead of the native adapter (e.g.: notifyItemRangeInserted
to notifyItemRangeInsertedInSection
).
Unless there are other issues which I can't see now. Let me know if you give it another try, I would be interested in hear the issues you faced with it.
from sectionedrecyclerviewadapter.
Related Issues (20)
- Is it possible to support Paging concept introduced in recent year? HOT 6
- Error adding to dependecies HOT 1
- How can I bind the Header view? HOT 1
- How can I get the Section header position? HOT 5
- Suggestion to add example-code on how to use empty-views HOT 2
- OnClick in onBindItemViewHolder does not work HOT 1
- How to get header position? HOT 1
- swipe to delete... HOT 3
- Design suggestion based on the following use case HOT 1
- Is using Section as HashMap key a good design? HOT 5
- Can we have SectionedRecyclerViewAdapter.getSectionItemViewTypeForAdapterViewType as static method? HOT 2
- Optimize onCreateViewHolder
- removeAllSections HOT 2
- How can I get position group of recyclerview? HOT 2
- FirstVisibleItem not change after I use notifyDataSetChange
- Collapse when section when open new one
- Is there a way to set section background,like a cardview style
- how to Expand first item by default ?
- New versions changelog addition. HOT 1
- How Section Support ItemTouchHelper for drag & drop DataItem
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 sectionedrecyclerviewadapter.