Added option to delete attachments

This commit is contained in:
M66B
2018-08-14 14:16:29 +00:00
parent 4ed1064d18
commit badbd134f5
5 changed files with 43 additions and 6 deletions

View File

@@ -227,7 +227,7 @@ public class FragmentMessage extends FragmentEx {
LinearLayoutManager llm = new LinearLayoutManager(getContext());
rvAttachment.setLayoutManager(llm);
adapter = new AdapterAttachment(getContext(), getViewLifecycleOwner());
adapter = new AdapterAttachment(getContext(), getViewLifecycleOwner(), true);
rvAttachment.setAdapter(adapter);
return view;