在原生react中,如何根据特定ScrollView的高度应用不同的页脚样式?基本上,我想为一个不是整个手机高度的视图创建一个粘性页脚,如果ScrollView更大,我想在ScrollView的末尾添加这个页脚。 希望这至少有点道理! 下面是用于演示的示例。>
//If the content view is smaller than the phone size, the view needs to be outside the scrollviewand
当我使用带有flex的内容的ScrollView时,它们不会显示,flex似乎不能工作。如何让flex在ScrollView中工作?import React, { Component } from 'react'; Text, StyleSheet, TouchableOpacity,} from 'react-native';
const A