mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-16 02:05:06 +08:00
invalidate does not work on Activity :/
This commit is contained in:
parent
aa0f031910
commit
e10af6476f
@ -16,7 +16,9 @@
|
||||
|
||||
package im.vector.app.features.debug.settings
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
import com.airbnb.mvrx.fragmentViewModel
|
||||
import com.airbnb.mvrx.withState
|
||||
@ -31,7 +33,9 @@ class DebugPrivateSettingsFragment : VectorBaseFragment<FragmentDebugPrivateSett
|
||||
return FragmentDebugPrivateSettingsBinding.inflate(inflater, container, false)
|
||||
}
|
||||
|
||||
init {
|
||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
|
||||
super.onViewCreated(view, savedInstanceState)
|
||||
|
||||
setViewListeners()
|
||||
}
|
||||
|
||||
|
@ -556,7 +556,8 @@ abstract class VectorBaseActivity<VB : ViewBinding> : AppCompatActivity(), Maver
|
||||
|
||||
open fun initUiAndData() = Unit
|
||||
|
||||
override fun invalidate() = Unit
|
||||
// Note: does not seem to be called
|
||||
final override fun invalidate() = Unit
|
||||
|
||||
@StringRes
|
||||
open fun getTitleRes() = -1
|
||||
|
Loading…
Reference in New Issue
Block a user