fixed dialog fragment crash
This commit is contained in:
parent
e238a0ae5c
commit
379ddbc1cc
|
@ -64,8 +64,8 @@ open class BaseDialogFragment : DialogFragment() {
|
|||
lateinit var requestManager: RequestManager
|
||||
private set
|
||||
|
||||
override fun onActivityCreated(savedInstanceState: Bundle?) {
|
||||
super.onActivityCreated(savedInstanceState)
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
requestManager = Glide.with(this)
|
||||
}
|
||||
|
||||
|
|
|
@ -100,8 +100,8 @@ open class BaseFragment : Fragment(), IBaseFragment<BaseFragment> {
|
|||
|
||||
private val actionHelper = IBaseFragment.ActionHelper<BaseFragment>()
|
||||
|
||||
override fun onActivityCreated(savedInstanceState: Bundle?) {
|
||||
super.onActivityCreated(savedInstanceState)
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
super.onCreate(savedInstanceState)
|
||||
requestManager = Glide.with(this)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue