Android Question How call JobDone in function?

Andre Souza

Member
Licensed User
Hello
I want to create a function that checks for example whether a particular e-mail exists in the database.

As jobdone function is asynchronous , it needs to create several procedures to get the desired value at another point .

There is a way of facilitating this , so that a single function can not receive the values without rewriting various procedures

B4X:
Sub ExistEmail(Email As String) As Boolean
//
End Sub


B4X:
Sub JobDone (Job As HttpJob)
// return value
End Sub
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…