List of usage examples for android.app LoaderManager.LoaderCallbacks interface-usage
From source file com.example.amit.tellymoviebuzzz.ForecastFragment.java
/** * Encapsulates fetching the forecast and displaying it as a {@link ListView} layout. */ public class ForecastFragment extends Fragment implements LoaderManager.LoaderCallbacks<Cursor> { private static final int FORECAST_LOADER = 0;
From source file com.example.android.pets.CatalogActivity.java
/** * Displays list of pets that were entered and stored in the app. */ public class CatalogActivity extends AppCompatActivity implements LoaderManager.LoaderCallbacks<Cursor> { private static final int PET_LOADER = 0;
From source file com.markupartist.sthlmtraveling.SearchDeparturesFragment.java
public class SearchDeparturesFragment extends BaseListFragment implements LoaderManager.LoaderCallbacks<Cursor> { private static final int REQUEST_CODE_PICK_SITE = 1; private static final int LOADER_HISTORY = 1; static String TAG = "SearchDeparturesActivity"; private boolean mCreateShortcut; private HistoryDbAdapter mHistoryDbAdapter;
From source file com.example.xyzreader.ui.DetailActivity.java
/** * An activity representing a single Article detail screen, letting you swipe between articles. */ public class DetailActivity extends AppCompatActivity implements LoaderManager.LoaderCallbacks<Cursor> { private Cursor mCursor;
From source file com.kaku.weac.fragment.LocalMusicFragment.java
/**
* ?Fragment
*
* @author
* @version 1.0 2015/05
*/
From source file com.piusvelte.imgpagur.ImgList.java
public class ImgList extends SherlockListFragment implements LoaderManager.LoaderCallbacks<List<ImgListItem>>, OnClickListener { public interface ImgListListener { public void addFeed(String title, String link);
From source file com.heske.alexandria.activities.ListOfBooksFragment.java
public class ListOfBooksFragment extends Fragment implements LoaderManager.LoaderCallbacks<Cursor> { private final String TAG = getClass().getSimpleName(); private String mSearchString = ""; private final int LOADER_ID = 10; private BookListCallback mCallback = null; private boolean mSelectBook = false;
From source file com.QuarkLabs.BTCeClient.fragments.HistoryFragment.java
public class HistoryFragment extends Fragment implements LoaderManager.LoaderCallbacks<JSONObject> { private static final int WEEK = 7 * 24 * 60 * 60 * 1000; private static String mListTypeTag = "ListType"; private int mLoaderId; private java.text.DateFormat mDateFormat;
From source file com.example.android.architecture.blueprints.todoapp.tasks.TasksPresenter.java
/** * Listens to user actions from the UI ({@link TasksFragment}), retrieves the data and updates the * UI as required. It is implemented as a non UI {@link Fragment} to make use of the * {@link LoaderManager} mechanism for managing loading and updating data asynchronously. */ public class TasksPresenter implements TasksContract.Presenter, LoaderManager.LoaderCallbacks<List<Task>> {
From source file com.blueberry.player.fragments.FileListFragment.java
public class FileListFragment extends Fragment implements LoaderManager.LoaderCallbacks<Cursor> { private static final String ARG_PATH = "path"; private TextView mPathView; private ListView mFileListView; private VideoAdapter mAdapter;