Comments (14)
Added structure description about how this library is designed. Direct link: Library structure.
Added a side navigable menu.
from flexibleadapter.
Added a new Wiki page about how to implement sections with sticky headers and expandable sections. Direct link: Headers and Sections.
from flexibleadapter.
Added new Wiki page about Setting Up and how to initialize the adapter.
from flexibleadapter.
Documentation definitely needs improvement because I've just wasted the whole day trying to figure out why my initial list with headers isn't working and throwing ClassCastException only to find out it's because I was using the same layout resource for both items and headers (for e.g. android.R.layout.simple_list_item_1
).
Not only that but it appears getLayoutRes
function is internally called within adapter which means it's also mandatory to implement it and nothing of this is mentioned in the documentation.
from flexibleadapter.
@choxnox, I'm sorry if you got lost in the implementation, the page Setting Up, actually shows the 2 ways to implement the binding (normal way or with item interfaces). Also, you could read the comments of every single methods (to override) of the Adapter and of the item interfaces.
All the rest of the pages will come, as soon as I resolve some (life) issues...
from flexibleadapter.
Added new Wiki page about Drag&Drop and Swipe.
from flexibleadapter.
Wiki pages tutorial has been completely reviewed
In the coming weeks, more pages will be completed as well.
from flexibleadapter.
Added Demo App Wiki page.
from flexibleadapter.
Reviewed Setting Up and added Setting Up Advanced Wiki pages.
from flexibleadapter.
Added Scrollable Headers and Footers.
from flexibleadapter.
Added Payload & reviewed all existent pages.
from flexibleadapter.
Load more upon a user request isn't really documented well. Should I call adapter.onLoadMore()? If yes, when? Will the items be added automatically or do I have to add them manually? Also, there is no example on this topic in the demo app, only automatic loading.
from flexibleadapter.
@shymmq, that part is indicative (without example yet), but the logic steps are described. I added another point to complete the loading once the items are received.
onLoadMore()
is for automatic loading, so you don't have to call it. The items are loaded when user clicks on the button that you add in the layout of the progress bar. The callback of that remote call will invoke onLoadMoreComplete(newItems)
.
from flexibleadapter.
With RC2 release many pages have been reviewed already, all the remaining will be updated soon.
from flexibleadapter.
Related Issues (20)
- Sticky headers lag when using beginDelayedTransition()
- Sticky header item view
- Double sticky header
- Support theme refences on fast scroller
- Probable major bug in private filterItemsAsync() method.
- Items are not deleted after filter
- Elevation is not applied correctly with getActivationElevation HOT 1
- Comment of return value of 'OnItemClickListener.onItemClick()' may mislead.
- 'SelectableAdapter.toggleSelection()' doesn't toggle selection in SINGLE mode. HOT 1
- FastScroller - setHandleAlwaysVisible does not effect
- Example of eu.davidea.flexibleadapter.FlexibleAdapter.DiffUtilCallback implementation HOT 1
- [Sticky headers]The real Header is invisiable
- How to collapse all items at start? HOT 1
- FYI: Bintray is shutting down on February 1st 2022 HOT 17
- Adding random text to item when scroll list
- flexibleadapter with sqlite
- AndroidX - Layout Inflation Failing on dependency later than com.google.android.material:material:1.0.0
- Further support? HOT 4
- Trying to get in touch regarding a security issue
- Sticky header items [Image Views, Text views with clicks] with expand/collapse feature
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 flexibleadapter.