-
Notifications
You must be signed in to change notification settings - Fork 544
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
New demoApp #380
Comments
I could help set up a Travis CI configuration that runs all of the demo app's unit tests before allowing a pull request. I know running Espresso tests on an emulator isn't possible on Travis CI right now, but most of the tests are under Robolectric I believe. It would provide a simple layer of protection against breaking changes being introduced in a pull request. |
I hope demo app splits into several small projects. It's hard to implement only one functionality into my own apps. |
I would like to see expandable items in the demo app |
I would also appreciate seeing more examples regarding multi-level expandable items. Our app uses recursive expansions of up to ~ 5 levels of depth and it's been a bit tricky setting everything up, more examples to go by would be great. Thanks! |
@davideas , can you please provide some more gists on basic Use-cases in a sequential manner like creating a usual,old RecyclerView using this library , then how to modify the previous implementation into the one with multi select feature , then how to modify the previous implementation to the one with swipeable recycler views, then... something like that. I hope am not offending you for asking so much, its just that am a beginner developer and this looks like not only a great library to solve many problems at once, but also to learn about better coding styles in general |
@chaostools, thanks for the message, in these days I started to create the new app (branch name: newApp). You can start to follow the development, but it will take months anyway: time is very limited. At the moment it does nothing, but some basic code is already there (nothing related to the adapter yet). The new app is based on a new architecture with Dagger2, with the new Android Architecture Components, with Room and with several thirds libraries. |
Can you pl add support for multiselect showing contextual action bar that can maintain itself across orientation changes? Thanks |
Amazing news @davideas! I use FlexibleAdapter in two of my apps and the hardest part of learning how to use it was the complexity of the sample app. For beginners, I would suggest including a simple, well commented implementation of FlexibleAdapter without any complexity such as Dependency Injection, Jetpack components, LiveData, or ViewBinding. Just a simple RecyclerView, static array of data in an ArrayList, and FlexibleAdapter. Thinking back, another complication that made learning how to use this library harder is not knowing which file mapped to which screen. If the fragments were well commented and the MainActivity worked as a TOC, it would have been a lot easier. Just a few suggestions from back when I was learning how to use this library! |
I'm going to review the demoApp completely.
I will improve the existing examples and adding new ones:
App features
FlexibleAdapter features
But, what else would you like to try out with FlexibleAdapter in the demoApp?
What are your expectations when study the code of a demoApp like this?
And, which components you would like to see in the implementation?
The text was updated successfully, but these errors were encountered: