Fixed crash when sending file

This commit is contained in:
Sylvain Berfini 2018-09-05 17:17:41 +02:00
parent a70ae72e8f
commit faeba40500
2 changed files with 1 additions and 2 deletions

View file

@ -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);

View file

@ -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);
} }