mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
impl showDialog
This commit is contained in:
2 files changed
+14
-1
No files matched your search
@@ -40,6 +40,11 @@ object Cocos2dxHelper {
|
||||
return BaseRobTopActivity.me.get()?.resources?.configuration?.densityDpi ?: -1
|
||||
}
|
||||
|
||||
@JvmStatic
|
||||
fun showDialog(title: String, message: String) {
|
||||
cocos2dxHelperListener?.showDialog(title, message)
|
||||
}
|
||||
|
||||
fun init(context: Context, cocos2dxHelperListener: Cocos2dxHelperListener) {
|
||||
val applicationInfo: ApplicationInfo = context.applicationInfo
|
||||
// sContext = pContext
|
||||
|
||||
Reference in new issue
Block a user