android - ListView crashing the my application why? -
my app crashed when try scroll down in listview i've tried trace error couldn't find , activity works fine when try scroll down app getting crashed , please guys tell me error or mess in code ?
i had removed scroll down effect , removed
lv.setonscrolllistener(new onscrolllistener()
but still same problem
listview xml
<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/background_scroller" > <listview android:id="@+id/ringtonelistview" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/scrollback" android:divider="#93c7e8" android:dividerheight="1dp" /> </linearlayout>
here set object long
convertview.settag(r.getlong("toneid"))
and want same object view. viewholder (type view)
holder = (viewholder) convertview.gettag();