您的位置:首页 > 产品设计 > UI/UE

field com.moreunion.zhenghao.ui.fragment.MainVideoInterrogation.mLabel has type java.util.List, got

2017-09-07 14:19 453 查看
09-07 14:17:05.656 29538-29538/com.moreunion.zhenghao E/x_log:ViewInjectorImpl.injectObject(L:170): field com.moreunion.zhenghao.ui.fragment.MainVideoInterrogation.mLabel has type java.util.List, got android.widget.RelativeLayout

                                                                                                    java.lang.IllegalArgumentException: field com.moreunion.zhenghao.ui.fragment.MainVideoInterrogation.mLabel has type java.util.List, got android.widget.RelativeLayout

                                                                                                        at java.lang.reflect.Field.set(Native Method)

                                                                                                        at org.xutils.view.ViewInjectorImpl.injectObject(ViewInjectorImpl.java:164)

                                                                                                        at org.xutils.view.ViewInjectorImpl.inject(ViewInjectorImpl.java:115)

                                                                                                        at com.example.yilibrary.base.BaseFragment.onCreateView(BaseFragment.java:44)

                                                                                                        at android.support.v4.app.Fragment.performCreateView(Fragment.java:2239)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1332)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManager.java:1574)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1641)

                                                                                                        at android.support.v4.app.BackStackRecord.executeOps(BackStackRecord.java:794)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.executeOps(FragmentManager.java:2415)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2200)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.optimizeAndExecuteOps(FragmentManager.java:2153)

                                                                                                        at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2063)

                                                                                                        at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:725)

                                                                                                        at android.os.Handler.handleCallback(Handler.java:751)

                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:95)

                                                                                                        at android.os.Looper.loop(Looper.java:154)

                                                                                                        at android.app.ActivityThread.main(ActivityThread.java:6121)

                                                                                                        at java.lang.reflect.Method.invoke(Native Method)

                                                                                                        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)

                                                                                                        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)

原因

@ViewInject(R.id.fl_rootview)

private List<ClassifyInfos1Bean> mLabel = new ArrayList<>();
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐