Optimize imports. Keep tracking of every subscription
This commit is contained in:
@@ -33,7 +33,7 @@ public class CatalogueListActivity extends BaseActivity implements CatalogueList
|
||||
setupToolbar(toolbar);
|
||||
|
||||
presenter = new CatalogueListPresenter(this);
|
||||
presenter.initializeSource();
|
||||
presenter.initialize();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -15,7 +15,6 @@ import butterknife.ButterKnife;
|
||||
import eu.kanade.mangafeed.R;
|
||||
import eu.kanade.mangafeed.ui.fragment.CatalogueFragment;
|
||||
import eu.kanade.mangafeed.ui.fragment.LibraryFragment;
|
||||
import rx.subscriptions.CompositeSubscription;
|
||||
|
||||
public class MainActivity extends BaseActivity {
|
||||
|
||||
|
||||
@@ -4,8 +4,6 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.support.v7.widget.Toolbar;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.widget.ListView;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -4,7 +4,6 @@ import android.content.Context;
|
||||
import android.widget.Filter;
|
||||
import android.widget.Filterable;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import eu.kanade.mangafeed.data.models.Manga;
|
||||
|
||||
@@ -50,7 +50,7 @@ public class LibraryFragment extends BaseFragment implements LibraryView {
|
||||
activity.setToolbarTitle(getString(R.string.library_title));
|
||||
ButterKnife.bind(this, view);
|
||||
|
||||
presenter.initializeMangas();
|
||||
presenter.initialize();
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user