Skip to content
Commit c42034e2 authored by Johan Olsson's avatar Johan Olsson Committed by Luca Stefani
Browse files

Jelly: Implementing favorite management through a ContentProvider.

Inspired by the history ContentProvider. Previously database
queries were being invoked on the UI thread. This is no longer
the case. Edit and delete favorite were also taken into account
and even the delete animation is working like before.

Edit, Add and Delete actions implemented as static inner
classes to avoid implicit activity reference. May otherwise
cause memory leakage.

Snackbar parent view is referenced as weak to avoid potential
illegal state exceptions.

Change-Id: I214ec25a90e86048da0e97be62f899d0af99c1a0
parent 3c456943
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment