hey, is there a way to generify this and use in base classes? For eg, most of my fragments are extending a BaseFragment to whom they provide a layoutRes. The base fragment would deal with all the inflation and other lifecycle callbacks. is there a way to provide a variable "binding" via the base class, so that the lifecyles are still handled in the base class, but accessing the views is still possible for the child class?


curiously fiddling around with tech | https://root-ansh.github.io/curioustools/ also @anshsachdevaprofessional

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store