square / cycler

Apache License 2.0
791 stars 27 forks source link

Recycler.adopt: accept an optional layout provider #36

Closed helios175 closed 4 years ago

helios175 commented 4 years ago

This change allows an optional layoutProvider for adopt, so it can be specified in the same way. Not passing one keeps the existing behavior (assume the RecyclerView has one) which might be already used in existing code.