解决方案 »

  1.   

    学习了。顺便翻译下楼上给的链接:Fragment are managed by Activity's FragmentManager or by other Fragments child FragmentManager; while list item views are managed by ListView & ListAdapter. You can use ListViews in Fragments, but not the other way around.Fragment需要使用FragmentManager管理。
    list item 是使用 ListView & ListAdapter管理的。
    可以在Fragments使用ListViews,反过来却不行。
      

  2.   


    为什么我如果list中只加载一条数据的时候没问题呢?加载超过一条就会报错。是在第二次进入getView的时候加载listview item布局文件的时候出错。
      

  3.   


    这几天挺忙,不好意思,没上来看。其实现在的项目主要是一个对youtube的视频实现自动播放,跟souhu那种模式,不知道大侠做过没。