Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec37c885 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Adding a method called when detecting content change.

Added Loader.onContentChanged()  which is called by ForceLoadContentObserver
when it detects a change, rather than forceLoad().

By default onContentChanged() just calls forceLoad(), so there's no change
in behavior.

This is useful when a subclass wants to perform custom operations upon
data chantes.  For example, a subclass may want to limit the number
of automatic requeries per second.

Change-Id: I493dac3f4f1a75b056d2c7065336ea9252dbf424
parent 100e1065
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment