Questions tagged [epoxy]

Epoxy is am Android library by Airbnb for building screens in a Recycler View. Use this tag for questions about using the Epoxy library or building with the library via Gradle, etc.

Epoxy is an Android library for building complex screens in a RecyclerView. It abstracts the boilerplate of ViewHolder, item types, item ids, span counts, and more, in order to simplify building screens with multiple view types. Additionally, Epoxy adds support for saving view state and automatic diffing of item changes.

Main components:

  • EpoxyModel - controls the data and view binding for each item on screen. Models are generated from xml layouts or custom views.

  • EpoxyController - declares what models to add to a RecyclerView.

References:

65 questions
0
votes
1 answer

Google maps fragment in epoxy view

I'm currently exploring the new MvRx stack from Airbnb Rigth now i am adding a google maps fragment successfully to a BaseMvRxFragment in a BottomNavigationView. The problem is that the 2. time i navigate to the MapFragment my app crashes and i get…
0
votes
1 answer

MvRX DrawerLayout + generally more examples wanted

I'm trying to set up a DrawerLayout in the MvRx sample project but i am kind of stuck. Totally new to both epoxy and MvRx in general and i have been playing around for a week now learning about the framework and testing components i need to convert…
0
votes
0 answers

EpoxyRecyclerView inside of ViewPager

Using EpoxyRecyclerView inside of ViewPager @Override public Object instantiateItem(ViewGroup collection, int position) { LayoutInflater inflater = LayoutInflater.from(mContext); ViewGroup layout = (ViewGroup)…
0
votes
1 answer

How I can make call back from EpoxyModel?

I need to make call back from MyEpoxyModel. I need call callback in Controller from Model How I can do it ? (with epoxy)
manwhotrycoding
  • 931
  • 1
  • 7
  • 13
0
votes
2 answers

airbnb epoxy - how to insert new items

I am having an issue in understanding how epoxy works in Android. There is also a tutorial here imagine i have an adapter as follows: public class PhotoAdapter extends EpoxyAdapter { private final LoaderModel loaderModel = new…
j2emanue
  • 60,549
  • 65
  • 286
  • 456
1 2 3 4
5