Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6295

SwipeListView - When pressing one item from list shows the infomation of the item pressed before

$
0
0
<SwipeListView              data={list}              listKey={'list'}              keyExtractor={list=> list.id}              closeOnScroll={true}              closeOnRowBeginSwipe={true}              renderItem={({ item }) => <View><Text>{item.category}</Text></View>              )}            />

So I am impementing this swipelist view. The problem is that when I open the second element after I have opened the first one, the information inside the second element is the one of the first. I have to click 3 times on the second element so I can get the right information. How can I fix this?


Viewing all articles
Browse latest Browse all 6295

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>