RecyclerView with StaggeredGridLayoutManager in ViewPager, arranges items automatically when going back to fragment
问题 I am using Navigation component in my App, using google Advanced Sample(here). my problem is when going back to a fragment, t he scrolling position does not lost but it rearranges items and moves highest visible items so that top of those item align to top of recyclerview. please see this: before going to next fragment: and after back to fragment: this problem is matter because some times clicked item goes down and not seen until scroll down. how to prevent this behavior? please consider: