We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Use this class "as is", if you want to post messages in background.
Override some of these methods if you want to add interaction with UI.
In this case, you have to run this methods in UI thread by using runOnUiThread(Runnable).
runOnUiThread(Runnable)
For example: @Override public void onSendingSuccess() { runOnUiThread(new Runnable() { @Override public void run() { Toast.makeText(this,"Sending finished successfully",30).show(); } }); }
For example:
@Override
public void onSendingSuccess() {
runOnUiThread(new Runnable() { @Override public void run() { Toast.makeText(this,"Sending finished successfully",30).show(); } });
}