How using ViewBinding with an abstract base class

后端 未结 3 963
礼貌的吻别
礼貌的吻别 2020-12-10 20:31

I started using ViewBinding. After searching for some example or advice how to use ViewBinding with an abstract base class that should handle same logic on views expected to

3条回答
  •  爱一瞬间的悲伤
    2020-12-10 21:11

    Hi I have created a blog post which covers view-binding in-depth, and also includes both composition patter/delegate pattern to implement view binding as well as using inheritance checkout from the link

    checkout for complete code of BaseActivity and BaseFragment along with usage

提交回复
热议问题