Added a dialog and refactored code

This commit is contained in:
Ernir Erlingsson
2015-12-09 10:29:34 +01:00
parent ca00b414e7
commit 886cad91f0
4 changed files with 46 additions and 7 deletions

View File

@@ -48,6 +48,11 @@ public abstract class BaseActivity extends RoboActivity {
this.finish();
}
protected void gotoAndFinish(Class classInstance)
{
this.gotoAndFinish(classInstance, Integer.MIN_VALUE);
}
protected void hideSoftKeyboard()
{
Object o = getSystemService(INPUT_METHOD_SERVICE);