mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Fixed flickering
This is why AndroidX was required
This commit is contained in:
@@ -231,7 +231,7 @@ public class FragmentIdentity extends FragmentEx {
|
||||
long id = (args == null ? -1 : args.getLong("id", -1));
|
||||
|
||||
// Observer
|
||||
DB.getInstance(getContext()).identity().liveIdentity(id).observe(this, new Observer<EntityIdentity>() {
|
||||
DB.getInstance(getContext()).identity().liveIdentity(id).observe(getViewLifecycleOwner(), new Observer<EntityIdentity>() {
|
||||
@Override
|
||||
public void onChanged(@Nullable EntityIdentity identity) {
|
||||
etName.setText(identity == null ? null : identity.name);
|
||||
|
||||
Reference in New Issue
Block a user