Loaders in Android Honeycomb

前端 未结 3 2164
野的像风
野的像风 2021-01-30 17:23

I\'m trying to figure out how to use Loaders in Android 3.0 but can\'t seem to get it to work. The docs only describe using CursorLoader but I\'m using

3条回答
  •  Happy的楠姐
    2021-01-30 17:48

    Dianne Hackborn replied on the bug tracker and referred us to the static library implementation. CursorLoader is doing forceLoad() which is why it is working.

    See my attached class for a class which handles this for you in most simple cases at the bug tracker: http://code.google.com/p/android/issues/detail?id=14944

提交回复
热议问题