![]() Today, however, we are going to focus on the more advanced Android view-type to present lists-the RecyclerView. My friend and team member, Brandon Carter, wrote a post about creating performant ListViews, which I highly recommend reading if you need to use a ListView in your project. The Android platform gives us two different types of views that can be leveraged to display lists of data-the ListView and the RecyclerView. Please note i am posting a number of solutions to try out as the above issue can be there due to one of many reasons.In the mobile development world, regardless of the platform, lists that display data to the user are commonly used in many projects. ![]() In order to solve the above you could follow below solutions. >E/AndroidRuntime( 7546): at (FrameLayout.java:388) >E/AndroidRuntime( 7546): at (FrameLayout.java:453) >E/AndroidRuntime( 7546): at _(LiRecyclerView.java:30) >E/AndroidRuntime( 7546): recycler_view.RecyclerViewContainer$LiLinearLayoutManager.onLayoutChildren(RecyclerViewContainer.java:179) >E/AndroidRuntime( 7546): at 7.(LinearLayoutManager.java:523) >E/AndroidRuntime( 7546): at 7.(LinearLayoutManager.java:1269) >E/AndroidRuntime( 7546): at 7.(LinearLayoutManager.java:1306) >E/AndroidRuntime( 7546): at 7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1810) >E/AndroidRuntime( 7546): at 7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3340) >E/AndroidRuntime( 7546): at 7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3382) Invalid item position 2(offset:2).state:3 E/AndroidRuntime( 7546): : Inconsistency detected.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |