Custom list cursor adaptor crashes at bindView on emulator — not on phone-Collection of common programming errors
Hi all I will try to be specific if I can – please be patient, first time asker and relatively new to programming on this platform. Apologies if this has been asked/answered before – please link it to me. I have searched up and down but find other unrelated (to me at least) problems.
The real puzzler for me is that my app is crashing on my emulator but when installed on my phone (via upload of apk to phone and then using an AppInstaller app from market) it works.
The crash comes from a NullPointerException at the numbered line in the following code snippet (my code) of a custom list cursor adapter.
// TaskListCursorAdapter.java
@Override
public void bindView(View view, Context context, Cursor cursor) {
super.bindView(view, context, cursor); //