[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, according to my findings the newView method is not needed. only bindView is enough. now i have about 600 + contacts. this is the exception that i'm getting 05-31 13:39:22.180: ERROR/JavaBinder(564): java.lang.RuntimeException: No memory in memObj when i followed your instructions i h

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, according to my findings the newView method is not needed what should need is bindView method. now i have 600 + contacts this is the exception 05-31 13:39:22.180: ERROR/JavaBinder(564): java.lang.RuntimeException: No memory in memObj as you mention when i surrounded the method using a

[android-developers] Re: Out of Memory Issue in Android SimpleCursorAdapter

2010-05-31 Thread mike
hi Dmitri, thanks for your reply. any way i've tried to do what you ask me to do. in the @Override public View newView(Context context, Cursor cursor, ViewGroup parent) { // TODO Auto-generated method stub Cursor c =