Hi ,
I can delete the row.But after delete i want to show rest row .So after delete i want to refresh the page.
const deleteItem = item => {
// Function for click on an item
return Alert.alert(
"Are your sure?",
item.Group_Name+" "+"Are you sure you want to delete this Group?",
[
{
text: "Yes",
onPress: () => {
fetch(url,
{ method: 'POST' })
alert(item.Group_Name+);
Here i want refresh after alert
},
text: "No",
]
);
}