Fixed crash when sending file
This commit is contained in:
parent
a70ae72e8f
commit
faeba40500
2 changed files with 1 additions and 2 deletions
|
@ -119,6 +119,7 @@ public class GroupChatFragment extends Fragment implements ChatRoomListener, Con
|
||||||
}
|
}
|
||||||
|
|
||||||
mContext = getActivity().getApplicationContext();
|
mContext = getActivity().getApplicationContext();
|
||||||
|
mInflater = inflater;
|
||||||
View view = inflater.inflate(R.layout.chat, container, false);
|
View view = inflater.inflate(R.layout.chat, container, false);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -99,7 +99,6 @@ public abstract class SelectableAdapter<VH extends RecyclerView.ViewHolder> exte
|
||||||
mSelectedItems.put(i, true);
|
mSelectedItems.put(i, true);
|
||||||
notifyDataSetChanged();
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
mListHelper.updateSelectionButtons(false, true);
|
mListHelper.updateSelectionButtons(false, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -109,6 +108,5 @@ public abstract class SelectableAdapter<VH extends RecyclerView.ViewHolder> exte
|
||||||
notifyDataSetChanged();
|
notifyDataSetChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public abstract Object getItem(int position);
|
public abstract Object getItem(int position);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue