|
|
@ -725,6 +725,9 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
|
|
|
|
if (pos == NO_POSITION)
|
|
|
|
if (pos == NO_POSITION)
|
|
|
|
return null;
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED))
|
|
|
|
|
|
|
|
return null;
|
|
|
|
|
|
|
|
|
|
|
|
TupleMessageEx prev = adapter.getItemAtPosition(pos - 1);
|
|
|
|
TupleMessageEx prev = adapter.getItemAtPosition(pos - 1);
|
|
|
|
TupleMessageEx message = adapter.getItemAtPosition(pos);
|
|
|
|
TupleMessageEx message = adapter.getItemAtPosition(pos);
|
|
|
|
if (pos > 0 && prev == null)
|
|
|
|
if (pos > 0 && prev == null)
|
|
|
|