1

CursorLoader causes Contacts.DISPLAY_NAME to be set to NULL

view story
linux-howto

http://stackoverflow.com – I'm having a problem when creating a CursorLoader in a FragmentActivity implementing LoaderManager.LoaderCallbacks. When creating the CursorLoader my android.provider.ContactsContract.Contacts.DISPLAY_NAME is set to NULL. i can still get the data from my cursor if i use the "display_name" string but not if i use Contacts.DISPLAY_NAME then it just throws a NullPointerException. the log messages in the code still prints the correct "display_name" string but when debugging the DISPLAY_NAME is null and i still get the NullPointer exceptions, Could it have something to do with the classloader fo (HowTos)