react-native-scrollview-maintain
install yarn add react-native-scrollview-maintain
usage
call enableMaintain before use scroll component
//index.js import
or
import {enableMaintainVisibleContentPosition, disableMaintainVisibleContentPosition} from 'react-native-scrollview-maintain'; ... // `ref` is the ref to your ScrollView / FlatList
License
React native screens library is licensed under The MIT License.
Credits
Module for those who need maintainVisibleContentPosition on Android now but don't want to maintain your own RN fork RNPullRequest
Thans for workaround Stackie Jia and Maxime Bertheau