Ansh Sachdeva
Nov 12, 2020

--

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?

--

--

Ansh Sachdeva
Ansh Sachdeva

Written by Ansh Sachdeva

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

Responses (2)