使用数据库存储 local favourite
This commit is contained in:
1 parent
34181ce370
commit
d2e083922e
18 files changed
+377
-575
No files matched your search
@@ -10,8 +10,6 @@ import com.hippo.ehviewer.util.Config;
|
||||
import com.hippo.ehviewer.util.Crash;
|
||||
import com.hippo.ehviewer.util.Download;
|
||||
import com.hippo.ehviewer.util.EhClient;
|
||||
import com.hippo.ehviewer.util.Favourite;
|
||||
import com.hippo.ehviewer.util.Tag;
|
||||
import com.hippo.ehviewer.util.ThreadPool;
|
||||
import com.hippo.ehviewer.util.Ui;
|
||||
|
||||
@@ -39,9 +37,9 @@ public class AppContext extends Application implements UncaughtExceptionHandler
|
||||
Config.init(this);
|
||||
Ui.init(this);
|
||||
Cache.init(this);
|
||||
Favourite.init(this);
|
||||
//Favourite.init(this);
|
||||
Crash.init(this);
|
||||
Tag.init(this);
|
||||
//Tag.init(this);
|
||||
BeautifyScreen.init(this);
|
||||
mEhClient = new EhClient(this);
|
||||
Download.init(this);
|
||||
@@ -61,6 +59,10 @@ public class AppContext extends Application implements UncaughtExceptionHandler
|
||||
return mNetworkThreadPool;
|
||||
}
|
||||
|
||||
public Data getData() {
|
||||
return mData;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void uncaughtException(Thread thread, Throwable ex) {
|
||||
if (!handleException(ex) && mDefaultHandler != null) {
|
||||
|
||||
Reference in new issue
Block a user