Refactored finishOnUiThread() into superclass.

This commit is contained in:
akwizgran
2014-02-09 12:11:39 +00:00
parent e92b6fce4c
commit 1f169dd160
9 changed files with 14 additions and 39 deletions

View File

@@ -95,4 +95,12 @@ public class BriarActivity extends RoboFragmentActivity {
}
}.start();
}
protected void finishOnUiThread() {
runOnUiThread(new Runnable() {
public void run() {
finish();
}
});
}
}