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
8a01a00d
Commit
8a01a00d
authored
Apr 16, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CardSearchInfo.toString
parent
acb4e937
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletion
+21
-1
mobile/src/main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
.../main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
+18
-0
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/CardSearcher.java
.../main/java/cn/garymb/ygomobile/ui/cards/CardSearcher.java
+3
-1
No files found.
mobile/src/main/java/cn/garymb/ygomobile/loader/CardSearchInfo.java
View file @
8a01a00d
...
@@ -160,6 +160,24 @@ public class CardSearchInfo implements ICardFilter{
...
@@ -160,6 +160,24 @@ public class CardSearchInfo implements ICardFilter{
}
}
}
}
public
String
toString
(){
return
"CardSearchInfo{"
+
"LimitType="
+
getLimitType
()
+
", Ot="
+
getOt
()
+
", LimitName="
+
getLimitName
()
+
", KeyWord="
+
getKeyWord
()
+
", Attribute="
+
getAttribute
()
+
", Level="
+
getLevel
()
+
", PScale="
+
getPscale
()
+
", Category="
+
getCategory
()
+
", ATK="
+
getAtk
()
+
", DEF="
+
getDef
()
+
", LINK="
+
getLinkKey
()
+
", Race="
+
getTypes
()
+
", SetCode="
+
getSetcode
()
+
'}'
;
}
public
static
boolean
containsIgnoreCase
(
String
src
,
String
what
)
{
public
static
boolean
containsIgnoreCase
(
String
src
,
String
what
)
{
// https://stackoverflow.com/a/25379180
// https://stackoverflow.com/a/25379180
final
int
length
=
what
.
length
();
final
int
length
=
what
.
length
();
...
...
mobile/src/main/java/cn/garymb/ygomobile/ui/cards/CardSearcher.java
View file @
8a01a00d
...
@@ -4,6 +4,7 @@ package cn.garymb.ygomobile.ui.cards;
...
@@ -4,6 +4,7 @@ package cn.garymb.ygomobile.ui.cards;
import
android.content.Context
;
import
android.content.Context
;
import
android.graphics.Color
;
import
android.graphics.Color
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
android.util.Log
;
import
android.view.View
;
import
android.view.View
;
import
android.view.inputmethod.EditorInfo
;
import
android.view.inputmethod.EditorInfo
;
import
android.view.inputmethod.InputMethodManager
;
import
android.view.inputmethod.InputMethodManager
;
...
@@ -40,7 +41,7 @@ import ocgcore.enums.CardType;
...
@@ -40,7 +41,7 @@ import ocgcore.enums.CardType;
import
ocgcore.enums.LimitType
;
import
ocgcore.enums.LimitType
;
public
class
CardSearcher
implements
View
.
OnClickListener
{
public
class
CardSearcher
implements
View
.
OnClickListener
{
private
static
final
String
TAG
=
"CardSearcher"
;
final
String
[]
BtnVals
=
new
String
[
9
];
final
String
[]
BtnVals
=
new
String
[
9
];
protected
StringManager
mStringManager
;
protected
StringManager
mStringManager
;
protected
LimitManager
mLimitManager
;
protected
LimitManager
mLimitManager
;
...
@@ -585,6 +586,7 @@ public class CardSearcher implements View.OnClickListener {
...
@@ -585,6 +586,7 @@ public class CardSearcher implements View.OnClickListener {
})
})
.
linkKey
(
lineKey
)
.
linkKey
(
lineKey
)
.
build
();
.
build
();
Log
.
i
(
TAG
,
searchInfo
.
toString
());
dataLoader
.
search
(
searchInfo
);
dataLoader
.
search
(
searchInfo
);
lineKey
=
0
;
lineKey
=
0
;
}
}
...
...
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