Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSample App
The sample app demonstrates an EpoxyController class with several different types of models. A grid layout manager is used to allow two columns of buttons. EpoxyModelGroups are used to group nested horizontal RecyclerViews with buttons on their left. There are buttons to add and shuffle the carousels, and within each carousel there are buttons to add, shuffle, and change colored blocks.
Epoxy saves the scroll position of the carousels, and manages the diffing of state changes to update the RecyclerView and allow for the animations.
Clicking on a colored block shows a star animation, which demonstrates the change payload feature. This allows a model to see what the changes in state are when it is bound to a view.