-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DBFLOW and FlowCursor with Flexibleadapter #86
Comments
Hello @carmas123, thanks for the message. |
Simply the FlowCursorList get from the cursor the data only when it is needed and not for all items, but it know how many items are. (getCount) |
@carmas123, maybe you can use the onLoadMore feature. |
Oh yes this can be a solution, but it is not very simple, because I need to extract the first N items from DB and initialize the adapter and after that with same query I need to load other items. |
Please can you add a param to execute or not initializeItem(). You can add a method to disable this initialization. |
@carmas123, loading hundreds or thousands items, it's much better doing with the OnLoadMore. But it depends of which items we are talking about. Regarding the item initialization parameter, I think we can add it. I will check later what is the effect if items are not initialized. This has a strong impact for expandable items. |
@carmas123, what do you think about these names: |
Oh yes this is very good for me.
everything you need is a class that implement ItemFactory interface and all is done with a lazy item creation. This have only a problem!! That the result is an ArrayList and need to be casted to a mutable list. |
Unfortunately I had to leave this library... |
I tried to use onLoadMore functionality but the problem is when I try to use fast scroll or a custom index with alphabet. With onloadmore I don't do that. This is the majior problem |
Please can you push a commit with this changes or I need to fork this project? |
I will push. |
Thank you so much |
…dItemsAtStartUp() must be explicitly called by the user in Activity creation phase.
Hi I use in my app (write with Kotlin) DBFlow lib. Now I want to use your lib to add more functionality but I have a problem. How can I use your adapter with a flow list? Flow list is very good on device with low performance and with more than 10k items.
The text was updated successfully, but these errors were encountered: