Skip to content

Delete posts with three-dot "more options" menu

Matthieu requested to merge post-context-menu into master

The main challenge here is making the posts go away on the feed (like on the video below, except it should actually not break the feed afterwards)

video_2020-08-26_17-29-58

This can be accomplished by having the feed be backed by a Room database. That would also let us make the offline functionality be better, and generally be more robust and appear smoother.

See following links for some help/inspiration

https://stackoverflow.com/questions/48173395/how-to-delete-remove-pagedlistadapter-item

Also look at https://gitlab.epfl.ch/debeule/paginwithnetworksamplesimplified or the example that was adapted from: https://github.com/android/architecture-components-samples/blob/master/PagingWithNetworkSample/README.md

We have already spent a lot of time on trying to make this work, but hopefully this time it will get done...

It's done now, so this should be do-able 🎉

Edited by Matthieu

Merge request reports

Loading