Commit a268e3f0 authored by fallenstardust's avatar fallenstardust

update deckmanager dialog

parent a2e2994a
......@@ -105,7 +105,9 @@ dependencies {
implementation(name: 'paysdk-release-1.2.4', ext: 'aar')
implementation "com.pgyersdk:sdk:3.0.5"
//dialog库
implementation 'com.github.feihuaduo:DialogUtils:1.8.9'
implementation(name: 'dialogutils2-release', ext: 'aar')
//recyclerview的adapter库
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30'
api 'androidx.appcompat:appcompat:1.0.2'
api 'com.google.android.material:material:1.0.0'
}
......@@ -769,7 +769,7 @@ class DeckManagerActivityImpl extends BaseCardsAcitivity implements RecyclerView
BitmapUtil.saveBitmap(bitmap, savePath, 50);
builderShareLoading.dismiss();
DialogUtils du = DialogUtils.getdx(DeckManagerActivityImpl.this);
View viewDialog = du.dialogBottomSheet(R.layout.dialog_deck_share);
View viewDialog = du.dialogBottomSheet(R.layout.dialog_deck_share,0);
ImageView iv_image = viewDialog.findViewById(R.id.iv_image);
Button bt_image_share = viewDialog.findViewById(R.id.bt_image_share);
Button bt_code_share = viewDialog.findViewById(R.id.bt_code_share);
......
......@@ -50,7 +50,7 @@ public class YGODialogUtil {
public static void dialogDeckSelect(Context context, String selectDeckPath, OnDeckMenuListener onDeckMenuListener) {
DialogUtils du = DialogUtils.getdx(context);
View viewDialog = du.dialogBottomSheet(R.layout.dialog_deck_select);
View viewDialog = du.dialogBottomSheet(R.layout.dialog_deck_select,0);
RecyclerView rv_type, rv_deck;
rv_deck = viewDialog.findViewById(R.id.rv_deck);
......
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