Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
YGOMobile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fallenstardust
YGOMobile
Commits
3d8bd183
Commit
3d8bd183
authored
Nov 24, 2024
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加萌卡下载ypk与lflist的toast
parent
0be3bc94
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
mobile/build.gradle
mobile/build.gradle
+1
-1
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/MycardFragment.java
...in/java/cn/garymb/ygomobile/ui/mycard/MycardFragment.java
+2
-0
mobile/src/main/res/values/dimens.xml
mobile/src/main/res/values/dimens.xml
+5
-0
No files found.
mobile/build.gradle
View file @
3d8bd183
...
@@ -107,7 +107,7 @@ dependencies {
...
@@ -107,7 +107,7 @@ dependencies {
//dialog库
//dialog库
implementation
'com.github.feihuaduo:DialogUtils:1.8.9.23'
implementation
'com.github.feihuaduo:DialogUtils:1.8.9.23'
//recyclerview的adapter库
//recyclerview的adapter库
implementation
'io.github.cymchad:BaseRecyclerViewAdapterHelper
4:4.1.
4'
implementation
'io.github.cymchad:BaseRecyclerViewAdapterHelper
:3.0.1
4'
implementation
'androidx.appcompat:appcompat:1.7.0'
implementation
'androidx.appcompat:appcompat:1.7.0'
implementation
'com.google.android.material:material:1.12.0'
implementation
'com.google.android.material:material:1.12.0'
//图片选择
//图片选择
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/mycard/MycardFragment.java
View file @
3d8bd183
...
@@ -122,6 +122,8 @@ public class MycardFragment extends BaseFragemnt implements View.OnClickListener
...
@@ -122,6 +122,8 @@ public class MycardFragment extends BaseFragemnt implements View.OnClickListener
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_download_OK
)
+
getString
(
R
.
string
.
deck_list
));
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_download_OK
)
+
getString
(
R
.
string
.
deck_list
));
}
else
if
(
msg
.
obj
.
toString
().
endsWith
(
Constants
.
YRP_FILE_EX
))
{
}
else
if
(
msg
.
obj
.
toString
().
endsWith
(
Constants
.
YRP_FILE_EX
))
{
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_download_OK
)
+
getString
(
R
.
string
.
replay_list
));
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_download_OK
)
+
getString
(
R
.
string
.
replay_list
));
}
else
if
(
msg
.
obj
.
toString
().
endsWith
(
Constants
.
YPK_FILE_EX
)
||
msg
.
obj
.
toString
().
endsWith
(
Constants
.
CORE_LIMIT_PATH
))
{
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
ypk_installed
)
+
getString
(
R
.
string
.
restart_app
));
}
else
{
}
else
{
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_download_OK
)
+
AppsSettings
.
get
().
getResourcePath
());
YGOUtil
.
showTextToast
(
getString
(
R
.
string
.
tip_download_OK
)
+
AppsSettings
.
get
().
getResourcePath
());
}
}
...
...
mobile/src/main/res/values/dimens.xml
View file @
3d8bd183
...
@@ -108,4 +108,9 @@
...
@@ -108,4 +108,9 @@
<dimen
name=
"badge_height_padding"
>
1dp
</dimen>
<!-- 1 -->
<dimen
name=
"badge_height_padding"
>
1dp
</dimen>
<!-- 1 -->
<dimen
name=
"badge_top_margin"
>
2dp
</dimen>
<!-- 2 -->
<dimen
name=
"badge_top_margin"
>
2dp
</dimen>
<!-- 2 -->
<dimen
name=
"dp_4"
>
4dp
</dimen>
<dimen
name=
"dp_10"
>
10dp
</dimen>
<dimen
name=
"dp_40"
>
40dp
</dimen>
</resources>
</resources>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment