嗨,我在滚动视图中有滚动视图,我正在使用一个平面列表,但是它无法正常工作,可能没有任何帮助,因此,平面列表也在滚动视图中滚动。
enter code here
<ScrollView
style={{ flex: 1 }}
showsVerticalScrollIndicator={true}
>
<FlatList
style={{ flex: 1 }}
data={tabsAllSectionRecentLearn}
renderItem={({ item }) => (
<_listItem
key={"RecentLearn" + item.index}
heading1={item.title}
heading2={nameFinder(subjects, item.subject_id)}
heading3={item.createdAt}
IMG={ImageProvider.tick}
renderLine={true}
/>
)}
keyExtractor={item => item.index}
/>
</ScrollView>