|
|
@@ -311,6 +311,16 @@ public class KFZSJs {
|
|
|
Jump2View.getInstance().gotoYYShopMerchandiseById(activity, merId);
|
|
|
}
|
|
|
|
|
|
+ @JavascriptInterface
|
|
|
+ public void gotoCommentDetail(int id) {
|
|
|
+ Jump2View.getInstance().goActAppCommentDetail(id);
|
|
|
+ }
|
|
|
+
|
|
|
+ @JavascriptInterface
|
|
|
+ public void gotoUserHome(int id) {
|
|
|
+ Jump2View.getInstance().goActUserAppHome(activity, id);
|
|
|
+ }
|
|
|
+
|
|
|
//h5调用分享 window.kfzsjs.shareLink(link, iconUrl, title, des);
|
|
|
@JavascriptInterface
|
|
|
public void shareLink(String link, String iconUrl, String title, String des) {
|
|
|
@@ -671,6 +681,11 @@ public class KFZSJs {
|
|
|
}
|
|
|
|
|
|
@JavascriptInterface
|
|
|
+ public void showPraiseAnimation() {
|
|
|
+ activity.runOnUiThread(() -> ViewUtil.showUpGifDialog(activity));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JavascriptInterface
|
|
|
public void goActPlayGameList(int type, String name, boolean isGameGroupMore) {
|
|
|
GameListType gameListType = new GameListType();
|
|
|
gameListType.setPort_type(type);
|
|
|
@@ -726,13 +741,13 @@ public class KFZSJs {
|
|
|
}
|
|
|
|
|
|
@JavascriptInterface
|
|
|
- public void goNotice(String text){
|
|
|
+ public void goNotice(String text) {
|
|
|
BulletinEnty item = JSONObject.parseObject(text, BulletinEnty.class);
|
|
|
Jump2View.getInstance().onClickNotice(activity, item);
|
|
|
}
|
|
|
|
|
|
@JavascriptInterface
|
|
|
- public boolean isNewbie(){
|
|
|
+ public boolean isNewbie() {
|
|
|
return CommonUtil.getInstance().addNewTask(activity, DataUtil.getInstance().getUserEntity());
|
|
|
}
|
|
|
|