Skip to content
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

Open
4 of 18 tasks
davideas opened this issue May 30, 2017 · 8 comments
Open
4 of 18 tasks

New demoApp #380

davideas opened this issue May 30, 2017 · 8 comments
Projects
Milestone

Comments

@davideas
Copy link
Owner

davideas commented May 30, 2017

I'm going to review the demoApp completely.
I will improve the existing examples and adding new ones:

App features

  • A new v26 logo and icon.
  • Dagger2 injection.
  • Android Architecture Components.
  • Room in-memory db.
  • The new Material components, fonts and styles
  • New layout for the feature overall.
  • Tablet layout.
  • Progressive samples (improved code readability and simpler to understand, at least I will try).
  • Improved live settings.
  • Transitions.

FlexibleAdapter features

  • Item factories from LiveData resources.
  • The old samples reviewed.
  • HorizontalLayout.
  • Advanced multi-filtering.
  • Nested RecyclerViews.
  • The new FlexibleItemDecorator at work.
  • Cards Slider example with FlexibleAdapter.
  • ...

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?

@magneticflux-
Copy link
Contributor

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.

@tembem
Copy link

tembem commented Jun 16, 2017

I hope demo app splits into several small projects. It's hard to implement only one functionality into my own apps.

@kenshin171
Copy link

I would like to see expandable items in the demo app

@gwailoTr0n5000
Copy link
Contributor

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 davideas modified the milestones: 5.0.0-rc3, 5.0.0 Oct 11, 2017
@davideas davideas modified the milestones: 5.0.0, DemoApp May 1, 2018
@root-ansh
Copy link

root-ansh commented May 13, 2018

@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 know there is the demo app, but every fragment in it seems to display a lot of features combined altogether. There are a lot of interfaces and callbacks that seems to confuse me.The app is acting more of a 'display-product' of the library than a 'guidance-product', the one which we can reverse code and understand the usage .

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

@davideas
Copy link
Owner Author

@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.
I will try to insert your suggestion, however I want to continue to "present the product" of course, but breaking in smaller parts then, but still, many objects will be reused.
I want to centralize the settings of each sample, so every sample runs in that mode provided by the selected options.

@ShahoodulHassan
Copy link

Can you pl add support for multiselect showing contextual action bar that can maintain itself across orientation changes?
Also pl put some examples with items having input fields like number picker, buttons, edittext etc.
Some example having both vertical and horizontal recyclerviews.

Thanks

@davideas davideas added this to Backlog in NewApp Mar 27, 2019
@rayliverified
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
NewApp
  
Backlog
Development

No branches or pull requests

8 participants