АЕ
Size: a a a
АЕ
MM
annotation processor
/kapt
не добавилиАЕ
A
АЕ
АЕ
A
A
IG
PP
public <View extends MvpView> void beforeApply(final List<ViewCommand<View>> currentState,
final ViewCommand<View> incomingCommand) {
Iterator<ViewCommand<View>> iterator = currentState.iterator();
while (iterator.hasNext()) {
ViewCommand<View> entry = iterator.next();
if (entry.getClass() == incomingCommand.getClass()) {
iterator.remove();
break;
}
}
currentState.add(incomingCommand);
}
if (entry.getClass() == incomingCommand.getClass())вписал
if (entry == null || entry.getClass() == incomingCommand.getClass())
Ловил дебагером null в переменной entry, null также выходит как и раньше но вылеты прекратились и вроде бы во фрагменте отображается всё правильно. SS
VS
SS
VS
SS
VS
VS
SS