Commit 375ae489 authored by wanglei's avatar wanglei

...

parent cf5b475c
...@@ -37,6 +37,16 @@ abstract class BaseFragment<VB : ViewBinding>( ...@@ -37,6 +37,16 @@ abstract class BaseFragment<VB : ViewBinding>(
return binding.root return binding.root
} }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
super.onViewCreated(view, savedInstanceState)
initView()
initListener()
}
protected open fun initView() {}
protected open fun initListener() {}
open fun onResumeOneShoot() = Unit open fun onResumeOneShoot() = Unit
override fun onResume() { override fun onResume() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment