Hi,
If you are using async API with App42CallBack() , want to perform action on UI Thread after getting response from server. You should use below code in your function:
ActivityInstance.runOnUiThread(new Runnable() {
public void run() {
//Your TOAST function here
}
});