java - LoaderManager reference not found with API Level 17 -
i writing android sample app , trying create sample of listview using sample code here. , can't resolve loadermanager. idea wrong?
i using eclipse toolkit latest android sdk.
the function loadermanager
need use in example available api 17 :
http://developer.android.com/reference/android/app/loadermanager.html
i guess using api inferior 17 project cannot find it.
in case need use function on older api versions, can still have try using "support" version available in support library:
http://developer.android.com/reference/android/support/v4/app/package-summary.html
using package can import loadermanager
class using:
import android.support.v4.app.loadermanager;
instead of:
import android.app.loadermanager;
Comments
Post a Comment