mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08:00
Use RecyclerViewBackedScrollView in groups feed on Android.
Differential Revision: D2549975 fb-gh-sync-id: 98689a58a69ce8425c695acf74701509816821ae
This commit is contained in:
committed by
facebook-github-bot-7
parent
0ed3048e39
commit
8e2ec64763
@@ -17,6 +17,7 @@ import android.view.ViewGroup;
|
||||
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
import com.facebook.react.bridge.ReactContext;
|
||||
import com.facebook.react.common.annotations.VisibleForTesting;
|
||||
import com.facebook.react.uimanager.UIManagerModule;
|
||||
import com.facebook.react.uimanager.events.NativeGestureUtil;
|
||||
import com.facebook.react.views.scroll.ScrollEvent;
|
||||
@@ -31,7 +32,8 @@ import com.facebook.react.views.scroll.ScrollEvent;
|
||||
* It works by storing all child views in an array within adapter and binding appropriate views to
|
||||
* rows when requested.
|
||||
*/
|
||||
/*package*/ class RecyclerViewBackedScrollView extends RecyclerView {
|
||||
@VisibleForTesting
|
||||
public class RecyclerViewBackedScrollView extends RecyclerView {
|
||||
|
||||
/**
|
||||
* Simple implementation of {@link ViewHolder} as it's an abstract class. The only thing we need
|
||||
|
||||
Reference in New Issue
Block a user