···132132 if(asyncRefreshID!=null){
133133 contentView.removeCallbacks(asyncRefreshPartialRunnable);
134134 }
135135+ if(highlightAlphaAnimator!=null){
136136+ highlightAlphaAnimator.cancel();
137137+ }
135138 super.onDestroyView();
136139 }
137140···226229 diff.dispatchUpdatesTo(new ListUpdateCallback(){
227230 @Override
228231 public void onInserted(int position, int count){
229229- newReplyIDs.add(displayItems.get(position).parentID);
232232+ if(position<displayItems.size()) // TODO figure out how this could possibly be a thing
233233+ newReplyIDs.add(displayItems.get(position).parentID);
234234+ else if(BuildConfig.DEBUG)
235235+ throw new IllegalStateException("onInserted called with position="+position+" count="+count+", but list size is "+displayItems.size());
230236 }
231237232238 @Override