Search in sources :

Example 1 with FavListUrlBuilder

use of com.hippo.ehviewer.client.data.FavListUrlBuilder in project EhViewer by seven332.

the class FavoritesScene method onRestore.

private void onRestore(Bundle savedInstanceState) {
    mUrlBuilder = savedInstanceState.getParcelable(KEY_URL_BUILDER);
    if (mUrlBuilder == null) {
        mUrlBuilder = new FavListUrlBuilder();
    }
    mSearchMode = savedInstanceState.getBoolean(KEY_SEARCH_MODE);
    mHasFirstRefresh = savedInstanceState.getBoolean(KEY_HAS_FIRST_REFRESH);
    mFavCountArray = savedInstanceState.getIntArray(KEY_FAV_COUNT_ARRAY);
}
Also used : FavListUrlBuilder(com.hippo.ehviewer.client.data.FavListUrlBuilder)

Example 2 with FavListUrlBuilder

use of com.hippo.ehviewer.client.data.FavListUrlBuilder in project EhViewer by seven332.

the class FavoritesScene method onInit.

private void onInit() {
    mUrlBuilder = new FavListUrlBuilder();
    mUrlBuilder.setFavCat(Settings.getRecentFavCat());
    mSearchMode = false;
}
Also used : FavListUrlBuilder(com.hippo.ehviewer.client.data.FavListUrlBuilder)

Aggregations

FavListUrlBuilder (com.hippo.ehviewer.client.data.FavListUrlBuilder)2