In the AppCompatActivity just wanted to get some feedback on this. When does this Runnable run?
Is the super.onBackPressed();
posted on Main ui thread and then my Runnable is also posted to Main ui thread? which I know is a queue right. is this correct?
@Override
public void onBackPressed() {
super.onBackPressed();
runOnUiThread(new Runnable() {
@Override
public void run() {
// some work
}
});
}