Recycler View Blur and Repeat Issue

守給你的承諾、 提交于 2019-12-07 04:07:10

问题


My app contains an activity containing a toolbar(app-bar), ad-mob and an fragment.thr frament consists a RecyclerView.

I just used basic RecylerView methods in its adapter for inflation and onbindview.....etc, and i used Linear-Layout Inflater.

It works fine most of the times but some times (say 1 out of 50 times) it blurs and repeats views in the Top and Bottom of the screen including ToolBar(App-Bar) and navigation-bar and also some part of recyler view and there are no errors in the LogCat.

The blur areas are not constant sometimes it blurs most of the screen sometimes only someparts of screen are blurred

Here is the Screen Shots:- for Reference i also included the adapter Positions

ScreenShot :- Error 1

ScreenShot :- Error 2

What i tried to remove blur and is that solved the Probelm ??

Update-1 i tried using setHasSizeFixed(true) because the adapter data wont change the size of my views all are 90dp height. Not Solved the Problem.

来源:https://stackoverflow.com/questions/27833141/recycler-view-blur-and-repeat-issue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!