I am facing a problem that first time the API is being called from b4xpage_created
But second time when I call/open again the same activity the API is not executed at B4xPage_Appear.
please advice how can I call the same API at second time when the same activity opens.
Thanks
B4X:
Private Sub B4XPage_Created (Root1 As B4XView)
Dim jobFetchTripDetail As HttpJob
jobFetchTripDetail.Initialize("FetchDriver",Me)
jobFetchTripDetail.Download("http://"& B4XPages.MainPage.srvIP &":xxxx/getCustTripDetail?auth=" & B4XPages.MainPage.SelectedAuthCode)
But second time when I call/open again the same activity the API is not executed at B4xPage_Appear.
please advice how can I call the same API at second time when the same activity opens.
Thanks