Skip to content

Shows how to create android vertical recyclerView with nested horizontal linear recycler view

Notifications You must be signed in to change notification settings

msahakyan/nested-recycler-view

Repository files navigation

nested-recycler-view

Implemented a vertical recylcer view with nested horizontal recycler view.
User can scroll vertically and horizontally through the grid of views.

Application description

Simple application which shows movies list on recyclerView (parent recycler) and related movies inside another nested recyclerView (child recycler).

When user clicks on movie item it loads the details page for that movie and simultaneously tries to load related movie list (for the same genre(s), on which a click happen). After that if user clicks back button and related movies for that movie were loaded successfully a new horizontal recyclerView will be created for related items and dynamically will be added to parent recyclerView below the item on which click event happened.

If user clicks on some other movie item the detail view for that movie will be loaded and simultaneously (in background) previously created child recyclerView (if there was one) will be removed and new child recyclerView will be created (which contains related movies to the newly clicked movie item) on the new position.

Screenshots from movies app

movie list page
main feed page

similar movies page
main feed page with loaded similar movies

movie detail page
detail page view

search results view
main feed page with active search view

integrated youtube player
integrated youtube player

Used Libraries

  • com.github.erd:android-volley:1.0.0 Networking
  • com.google.code.gson:gson:2.4 Serializing
  • com.jakewharton:butterknife:7.0.1 View injection
  • com.github.rahatarmanahmed:circularprogressview:2.4.0 Circular progress view
  • com.mcxiaoke.viewpagerindicator:library:2.4.1 View pager indicator
  • AmazonInsights-android-sdk-2.1.26.jar A/B-Testing
  • YouTubeAndroidPlayerApi.jar Youtube API support

About

Shows how to create android vertical recyclerView with nested horizontal linear recycler view

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages