android-loadermanager Questions
3
Solved
I know this has been discussed yet I wanted to ask about the current state of the matter. Do i have to create a ContentProvider to use CursorLoader in connection with a sqlite database?
I found
...
Veteran asked 13/10, 2012 at 2:16
2
Solved
I have a peculiar issue with Loaders. Currently I am unsure if this is a bug in my code or I misunderstand loaders.
The app
The issue arises with conversations (imagine something similar to Whats...
Hem asked 9/1, 2014 at 21:36
6
Solved
I came to know that getSupportLoaderManager is deprecated. But I want to call:
getSupportLoaderManager().initLoader(0, null, mRecipeLoaderManager);
What should be an alternative to that call?
Or...
Ibadan asked 18/7, 2018 at 17:44
5
I'm trying to figure out if I'm doing something wrong with respect to Loaders. I'm using the support library, and I have a Fragment which in onCreate() calls initLoader() setting itself as the Load...
Hf asked 6/2, 2013 at 0:59
19
Solved
I'm having trouble following a guide on using SQLite in Android. I'm using a ListFragment instead of a ListActivity(as in the example), so I have the ListFragment implement LoaderManager.LoaderCall...
Crippling asked 22/6, 2012 at 12:0
5
I am facing an issue with Loader.
I have an Activity, which displays list of records retrieved from local DB. When the activity starts, records are automatically loaded via LoaderManager.initLoade...
Patriciapatrician asked 15/4, 2013 at 12:19
2
I'm currently heavily modifying/rewriting an Android app and I have seen a very occasional crash along the following lines: a CursorAdapter method is called, it calls AbstractWindowedCursor#checkPo...
Beefwitted asked 20/2, 2013 at 15:12
1
I created a loader that descends from AsyncTaskLoader. It works 99% of the time, but there's an edge case where LoaderCallbacks.onLoadFinished() is not called after AsyncTaskLoader.loadInBackground...
Feld asked 14/7, 2015 at 17:37
4
Solved
Since Honeycomb and the v4 Compatibility Library it is possible to use AsyncTaskLoader. From what I understand, the AsyncTaskLoader can survive through config changes like screen flips.
Is it rec...
Radcliffe asked 19/8, 2011 at 11:20
3
Solved
How can you query a LoaderManager to see if a Loader is currently running?
Denudation asked 1/3, 2012 at 23:33
1
I want to load information from an API to a Fragment.
I use getSupportLoaderManager() but an error is occurring:
Cannot resolve method: getSupportLoaderManager()
I search for this use onActiv...
Fleta asked 21/12, 2017 at 18:24
5
Hopefully simple java question I've just forgotten or never understood. I've been playing with Loaders in Android 4.0. The program is working as was but now I'm looking to the 'next' part. I want a...
Novelia asked 24/10, 2012 at 21:15
3
Solved
I have been working on a small To-Do list app. I used CursorLoader to update the ToDolistview from a content provider. I have a written a function onNewItemAdded(), which is called when user enters...
Mcbroom asked 20/3, 2013 at 7:44
5
Solved
Android SDK documentation says that startManagingCursor() method is depracated:
This method is deprecated. Use the new CursorLoader class with LoaderManager instead; this is also available on ol...
Mysticism asked 24/8, 2011 at 21:26
3
Solved
I have created a small application, trying to understand the functionality of the LoaderManager and CursorLoader-classes.
I have implemented LoaderCallbacks<Cursor> on my FragmentActivity-cl...
Chesterton asked 27/10, 2011 at 11:11
3
What I am trying to do:
I am trying to develop an app that only requires the user's location at the start of one activity. So only when the user is within the activity, the location gets updated ...
Rehash asked 23/7, 2013 at 8:7
4
Solved
I am currently trying to learn how to use Loaders and am having trouble starting a Loader in my activity.
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
pu...
Sally asked 29/3, 2012 at 2:39
4
Solved
What I would like to achieve:
I have two different fragments. I would like them both to show the same data in two forms (in a list and on a map). I would like them to share one Loader (AsyncTaskLo...
Veronicaveronika asked 6/4, 2012 at 15:23
1
What is the preferred method of loading dependant queries with the LoaderManager API in Android? As of now the best I could come up with is something along the lines of:
@Override
public void onCr...
Burgwell asked 6/8, 2015 at 4:0
5
Solved
I have searched the numerous questions that look like this one, but haven't found my answer in any of them.
I have an activity that has 3 tabs accessible through the action bar. I achieved this by...
Carnahan asked 3/10, 2012 at 9:15
5
Solved
Would it be OK to have a single instance of SQLiteOpenHelper as a member of a subclassed Application, and have all Activities that need an instance of SQLiteDatabase get it from the one helper?
Gabble asked 17/1, 2012 at 1:13
0
From the developer guide on Loaders,
They automatically reconnect to the last loader's cursor when
being recreated after a configuration change. Thus, they don't need to
re-query their data.
...
Flatworm asked 30/6, 2015 at 2:24
1
Solved
Assume we have an Activity with n TextViews that represent one line notes. These notes are stored somewhere (local database, network etc), and each time onResume() being called, the proper number o...
Slenderize asked 5/4, 2015 at 9:58
1
I have a content provider that returns a MatrixCursor for the query() method.
Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
{
MatrixCursor...
Carbonate asked 8/3, 2014 at 3:40
2
Solved
My code has an Activity, that has a FragmentPagerAdapter that creates 'n' fragments as necessary.
Activity has a loader, and each fragment has its own loader. All loaders have unique ID.
(Activity'...
Hello asked 28/1, 2013 at 10:2
1 Next >
© 2022 - 2024 — McMap. All rights reserved.