LoaderManager with multiple loaders: how to get the right cursorloader

前端 未结 3 1328
南旧
南旧 2020-12-12 10:55

To me it\'s not clear how to get the right cursor if you have multiple Loaders. Lets say you define two different Loader with:

getLoaderManager().initLoader(         


        
3条回答
  •  抹茶落季
    2020-12-12 11:07

    The Loader class has a method called getId(). I would hope this returns the id you've associated with the loader.

提交回复
热议问题