ask for recommendation first! A swiper component that can display multiple slider in the same interface, as shown in the following figure (even if the width of the swiper I find is smaller, it will only leave more white space, and will not give the white space to other slider)
problem: the order of react-native-snap-carousel components during the first round of slider switching is out of order. Put the code first:
:
data : [{title: "CEO..."},{title: "..."},{title:"..."}]
slider
slider dot index 0
index 2
print index is 1. The first round of loop is completed, and then the order is normal. Index also prints out 012012 in sequence, but 0 still corresponds to the second data of the data array, and 2 corresponds to the first data, doubting the life of the day. Please call for help
.