Browse Source

将对话框功能抽出,display-client直接依赖ipu-alertdialog

linh 8 years ago
parent
commit
b703dd6efa

+ 3 - 3
display-client/assets/mobile-action.xml

@ -46,9 +46,9 @@
46 46
	<action name="openSlidingMenu" class="com.wade.mobile.func.MobileUI" method="openSlidingMenu"/>
47 47
	<action name="closeSlidingMenu" class="com.wade.mobile.func.MobileUI" method="closeSlidingMenu"/>
48 48
	<action name="showNotification" class="com.wade.mobile.func.MobileUI" method="showNotification"/>
49
	<action name="alert" class="com.wade.mobile.func.MobileUIWithSAD" method="alert"/>
50
	<action name="confirm" class="com.wade.mobile.func.MobileUIWithSAD" method="confirm"/>
51
	<action name="loading" class="com.wade.mobile.func.MobileUIWithSAD" method="loading"/>
49
	<action name="alert" class="com.ai.ipu.alertdialog.func.MobileUIWithSAD" method="alert"/>
50
	<action name="confirm" class="com.ai.ipu.alertdialog.func.MobileUIWithSAD" method="confirm"/>
51
	<action name="loading" class="com.ai.ipu.alertdialog.func.MobileUIWithSAD" method="loading"/>
52 52
	<!-- SoftKeyBoard -->
53 53
	<action name="showKeyBoard" class="com.wade.mobile.func.SoftKeyBoard" method="showKeyBoard"/>
54 54
	<action name="hideKeyBoard" class="com.wade.mobile.func.SoftKeyBoard" method="hideKeyBoard"/>

BIN
ipu-alertdialog/libs/wade-mobile.jar


+ 3 - 1
wade-mobile-func/src/com/wade/mobile/func/MobileUIWithSAD.java

@ -1,9 +1,11 @@
1
package com.wade.mobile.func;
1
package com.ai.ipu.alertdialog.func;
2 2
import org.json.JSONArray;
3 3
import org.json.JSONObject;
4

4 5
import android.graphics.Color;
5 6
import android.os.CountDownTimer;
6 7
import cn.pedant.SweetAlert.SweetAlertDialog;
8

7 9
import com.wade.mobile.frame.IWadeMobile;
8 10
import com.wade.mobile.frame.plugin.Plugin;
9 11
/**

BIN
wade-mobile-common/libs/wade-mobile-func.jar