android - RecyclerView automatically scrolls to WebView/Fresco SimpleDraweeView item -


when put item asynchronically loaded content expandable height, such webview or fresco's simpledraweeview, view scrolls item (if it's example partially visible on screen, scrolls after item loaded). have experienced issue?

put android:descendantfocusability="beforedescendants" in layout xml. prevent scrolling asynchronously loaded contents.

<android.support.v7.widget.recyclerview             android:id="@+id/my_list"             android:layout_width="match_parent"             android:layout_height="match_parent"             android:descendantfocusability="beforedescendants" /> 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -