On 20 Aug., 19:17, TreKing <treking...@gmail.com> wrote:
> You probably need to provide more information, like what you adapter looks
> like, how you've implemented getView(), and what, exactly, you're doing when
> you get this error.

This is all I implemented:

setContentView(R.layout.new_career);
ListView lv = (ListView) findViewById(R.id.listview_newCareer);
lv.setTextFilterEnabled(true);
lv.setAdapter(new ArrayAdapter<String>(getApplicationContext(),
R.layout.item_team, game.getTeamNames()));

new_career.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

        <ListView
                android:id="@+id/listview_newCareer"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
        />

</LinearLayout>

item_team.xml:
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android";
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
/>

All I do when getting this error is scrolling through the list.
At about the half of the list I get the error.
In the upper half I can scroll normally without any problems.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to