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

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

Why does PHP consider 0 to be equal to a string? -

formula - R: how to pass in a reference to the variable in glm or lm? -