Its now a much cleaner transition
This commit is contained in:
parent
4940eff7f9
commit
562a5aae7d
|
@ -566,11 +566,11 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
|
|||
|
||||
public void onWarningClick(WarningFilteredStatusDisplayItem.Holder warningItem){
|
||||
int i = warningItem.getAbsoluteAdapterPosition();
|
||||
for(StatusDisplayItem item:warningItem.filteredItems){
|
||||
i++;
|
||||
displayItems.add(i, item);
|
||||
}
|
||||
displayItems.remove(warningItem.getAbsoluteAdapterPosition());
|
||||
for(StatusDisplayItem item:warningItem.filteredItems){
|
||||
displayItems.add(i, item);
|
||||
i++;
|
||||
}
|
||||
adapter.notifyItemChanged(warningItem.getAbsoluteAdapterPosition());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue