Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/apache-flex/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android应用程序在滚动自定义ListView时崩溃_Android_Listview_Crash - Fatal编程技术网

Android应用程序在滚动自定义ListView时崩溃

Android应用程序在滚动自定义ListView时崩溃,android,listview,crash,Android,Listview,Crash,当我在AVD上测试我的应用程序时,列表视图可以正常工作而不会崩溃,但当我使用智能手机(GALAXY S3)时,它会在滚动到底部时崩溃(没有生成错误消息) 我用这段代码设置了适配器 ExerciceAdapter adapter = new ExerciceAdapter(getActivity(), exearr, imagearr,otharr,equiarr); list=(ListView)rootView.findViewById(R.id.lv_fragment

当我在AVD上测试我的应用程序时,列表视图可以正常工作而不会崩溃,但当我使用智能手机(GALAXY S3)时,它会在滚动到底部时崩溃(没有生成错误消息)

我用这段代码设置了适配器

ExerciceAdapter adapter = new ExerciceAdapter(getActivity(), exearr, imagearr,otharr,equiarr);
            list=(ListView)rootView.findViewById(R.id.lv_fragment_exercice);
            list.setAdapter(adapter);

@MM-BB它不会产生任何错误,它只是最小化应用程序

发布您的logcat错误。请同时发布您的fragment\u exercice\u item\u ex.xml布局文件。此处没有足够的信息帮助您。
ExerciceAdapter adapter = new ExerciceAdapter(getActivity(), exearr, imagearr,otharr,equiarr);
            list=(ListView)rootView.findViewById(R.id.lv_fragment_exercice);
            list.setAdapter(adapter);