convertview is the old view that has created.//android是这样介绍的。
建议你加判断,如果converview==null,就创建。如果converview不为null,就替换里面的内容就是了。你可以尝试一下

解决方案 »

  1.   


    我这样的替换,就是替换Layout 。 与converview为不为Null 应该是无关的。 就算不是null我也要替换
      

  2.   

    提供替换Item的Layout的思路也可以啊,愁死我了
      

  3.   

    有没有log,看看点击的那一下,给谁处理了?
      

  4.   

    http://hi.baidu.com/yiyudemei/item/76ac4456b3994e9b09be1787
      

  5.   


    这个已经在xml文件里给listview设置了我的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" 
        android:background="@drawable/msg_history_bg"
        android:id="@+id/msg_history_layout"
        >
       
        <ListView android:id="@+id/list"
         android:layout_width="fill_parent" 
         android:layout_height="fill_parent"
         android:cacheColorHint="#00000000"
         android:listSelector="@drawable/list_selector"
         android:fadingEdge="none"
         android:scrollbars="none">
    </ListView>
    </LinearLayout>
      

  6.   


    log看不到,就是调用了adapter.notifyDataSetChanged();刚才又试了一下,发现第二次点 开始视频,Item会直接添加一个出来。第三次也一样、
    就是第一次,会黑屏。  
      

  7.   

    android:cacheColorHint="#00000000"
    android:scrollingCache="false"
      

  8.   

    会不会在getView中,有返回null的情况