"Favor composition over inheritance" for RecyclerView Adapters
-
Updated
Apr 18, 2024 - Java
8000
"Favor composition over inheritance" for RecyclerView Adapters
The sample project that demonstrate how to combine MVP and Delegation pattern to clean your Activity. The presenter usually contains business logic and we can use a delegate to init and get a value from a service, broadcast receiver or manager that depends on Android SDK.
Annotation Processing Library. Generates proxy class on top of interface/abstract class, that allows to intercept calls. Also known as a design pattern: proxy, delegate, interceptor.
A delegate pattern implementation that automatically uses parent fragments or activities as the delegate. Based off of some ideas put forward by @JakeWharton
Assembly RecyclerView is as easy as building blocks!
WithdrawTryCatch
Hotel reservation
Add a description, image, and links to the delegate topic page so that developers can more easily learn about it.
To associate your repository with the delegate topic, visit your repo's landing page and select "manage topics."