Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
machine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hooloo
android
machine
Commits
08dd6726
Commit
08dd6726
authored
Jun 17, 2022
by
wjg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重做UI
parent
2a06429a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
5 deletions
+0
-5
app/src/main/java/com/ihaoin/hooloo/device/adapter/GoodsAdapter.java
+0
-3
app/src/main/java/com/ihaoin/hooloo/device/util/Utils.java
+0
-1
library_recyclerview/src/main/java/com/chad/library/adapter/base/diff/BrvahAsyncDifferConfig.kt
+0
-1
No files found.
app/src/main/java/com/ihaoin/hooloo/device/adapter/GoodsAdapter.java
View file @
08dd6726
...
@@ -36,9 +36,6 @@ public class GoodsAdapter extends BaseSectionQuickAdapter<ScrollBean, BaseViewHo
...
@@ -36,9 +36,6 @@ public class GoodsAdapter extends BaseSectionQuickAdapter<ScrollBean, BaseViewHo
@Override
@Override
protected
void
convertHead
(
BaseViewHolder
helper
,
ScrollBean
item
)
{
protected
void
convertHead
(
BaseViewHolder
helper
,
ScrollBean
item
)
{
helper
.
setText
(
R
.
id
.
txt_category
,
item
.
header
);
helper
.
setText
(
R
.
id
.
txt_category
,
item
.
header
);
// TODO test
helper
.
setOnClickListener
(
R
.
id
.
txt_category
,
v
->
Utils
.
showToast
(
mContext
,
item
.
header
));
}
}
@Override
@Override
...
...
app/src/main/java/com/ihaoin/hooloo/device/util/Utils.java
View file @
08dd6726
...
@@ -185,7 +185,6 @@ public class Utils {
...
@@ -185,7 +185,6 @@ public class Utils {
}
}
public
static
void
showToast
(
Context
context
,
String
text
)
{
public
static
void
showToast
(
Context
context
,
String
text
)
{
// TODO 自定义toast样式
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
view_toast
,
null
);
View
view
=
LayoutInflater
.
from
(
context
).
inflate
(
R
.
layout
.
view_toast
,
null
);
TextView
textView
=
view
.
findViewById
(
R
.
id
.
txt_toast
);
TextView
textView
=
view
.
findViewById
(
R
.
id
.
txt_toast
);
textView
.
setText
(
text
);
textView
.
setText
(
text
);
...
...
library_recyclerview/src/main/java/com/chad/library/adapter/base/diff/BrvahAsyncDifferConfig.kt
View file @
08dd6726
...
@@ -72,7 +72,6 @@ class BrvahAsyncDifferConfig<T>(
...
@@ -72,7 +72,6 @@ class BrvahAsyncDifferConfig<T>(
}
}
companion
object
{
companion
object
{
// TODO: remove the below once supportlib has its own appropriate executors
private
val
sExecutorLock
=
Any
()
private
val
sExecutorLock
=
Any
()
private
var
sDiffExecutor
:
Executor
?
=
null
private
var
sDiffExecutor
:
Executor
?
=
null
}
}
...
...
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