mirror of
https://github.com/apache/cordova-android.git
synced 2026-03-16 00:00:02 +08:00
refactored the Command stuff a bit more, added a spashscreen
This commit is contained in:
15
framework/src/com/phonegap/SplashScreen.java
Normal file
15
framework/src/com/phonegap/SplashScreen.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package com.phonegap;
|
||||
|
||||
public class SplashScreen {
|
||||
private final DroidGap gap;
|
||||
public SplashScreen(DroidGap gap) {
|
||||
this.gap = gap;
|
||||
}
|
||||
public void hide() {
|
||||
gap.runOnUiThread(new Runnable() {
|
||||
public void run() {
|
||||
gap.hideSplashScreen();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user