Commit 525fcd48 authored by fallenstardust's avatar fallenstardust

3.4.5LOGO

回滚删除确认
长按监听事件+0.2s
parent aa6c8c0a
......@@ -22,21 +22,12 @@
<pre>
更新:
1.更新ygo内核;
2.新卡T1008+CP19+19PR+VJ;
3.TCG2019.4禁卡表;
新增:
1.决斗助手可以复制转化YDK文本和卡组分享码;
2.分享卡组支持导出卡组分享码到剪贴板;
3.可从录像提取卡组;
4.可点左上角卡图清除聊天、系统消息;
5.单机AI+ L8,自奏,炎兽卡组;
2.新卡DP22;
3.OCG2019.7禁卡表;
优化:
1.投降前增加确认(防误触);
2.点击列表响应不灵敏的问题;
3.局域网联机有时无法加入房间的问题;
4.长按删除不再做确认;
5.调整部分UI;
6.单机AI列表将报社卡组分为一类;
1.咕且恢复长按删除确认;
2.延长0.2秒长按判断时间;
3.完善支持分辨率大于177*254的卡图;
</pre>
</body>
</html>
\ No newline at end of file
......@@ -8,7 +8,7 @@ android {
applicationId "cn.garymb.ygomobile"
minSdkVersion 16
targetSdkVersion 28
versionCode 340400604
versionCode 340400616
versionName "3.4.4"
flavorDimensions "versionCode"
vectorDrawables.useSupportLibrary = true
......
......@@ -152,7 +152,7 @@ public interface Constants {
/***
* 长按删除
*/
long LONG_PRESS_DRAG = 700;
long LONG_PRESS_DRAG = 900;
/***
* adb shell am start -n cn.garymb.ygomobile/cn.garymb.ygomobile.ui.home.MainActivity -a ygomobile.intent.action.DECK --es android.intent.extra.TEXT 青眼白龙.ydk
* <p>
......
......@@ -176,15 +176,15 @@ class DeckManagerActivityImpl extends BaseCardsAcitivity implements RecyclerView
if (deckItem == null || deckItem.getCardInfo() == null) {
return;
}
// DialogPlus dialogPlus = new DialogPlus(this);
// dialogPlus.setTitle(R.string.question);
// dialogPlus.setMessage(getString(R.string.delete_card, deckItem.getCardInfo().Name));
// dialogPlus.setMessageGravity(Gravity.CENTER_HORIZONTAL);
// dialogPlus.setLeftButtonListener((dlg, v) -> {
// dlg.dismiss();
DialogPlus dialogPlus = new DialogPlus(this);
dialogPlus.setTitle(R.string.question);
dialogPlus.setMessage(getString(R.string.delete_card, deckItem.getCardInfo().Name));
dialogPlus.setMessageGravity(Gravity.CENTER_HORIZONTAL);
dialogPlus.setLeftButtonListener((dlg, v) -> {
dlg.dismiss();
mDeckItemTouchHelper.remove(pos);
// });
// dialogPlus.show();
});
dialogPlus.show();
} else {
mDeckAdapater.showHeadView();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment