Does anyone have a description of the usage of the Bundle args parameter of initLoader()? Is the object merely set on the resulting cursor or is there a way to get access to that object from the data source being queried – like a Content Provider?
from docs:
args Optional arguments to supply to the loader at construction. If a loader already exists (a new one does not need to be created), this parameter will be ignored and the last arguments continue to be used.
Thank you in advance.
The
Bundle argsparameter ofinitLoader()andresetLoader()is used to pass extra information toonCreateLoader(int id, Bundle args). This can be useful to give selection arguments to queries, for instance.