Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_highgold_pro
Project
Project
Details
Activity
Releases
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
android
android_highgold_pro
Commits
32edb132
Commit
32edb132
authored
Mar 10, 2021
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
11b52bac
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
CpdService.java
app/src/main/java/com/mints/goldspace/net/CpdService.java
+1
-1
FriendsFragment.kt
...n/java/com/mints/goldspace/ui/fragment/FriendsFragment.kt
+3
-3
fragment_main_friends.xml
app/src/main/res/layout/fragment_main_friends.xml
+3
-3
local.properties
local.properties
+2
-2
No files found.
app/src/main/java/com/mints/goldspace/net/CpdService.java
View file @
32edb132
...
@@ -42,7 +42,7 @@ public interface CpdService {
...
@@ -42,7 +42,7 @@ public interface CpdService {
* @return
* @return
*/
*/
@GET
@GET
Observable
<
Object
>
cmtImp
(
@Url
String
url
);
Observable
<
Json
Object
>
cmtImp
(
@Url
String
url
);
class
Factory
{
class
Factory
{
...
...
app/src/main/java/com/mints/goldspace/ui/fragment/FriendsFragment.kt
View file @
32edb132
...
@@ -274,15 +274,15 @@ class FriendsFragment(private var isResume: Boolean = false) : BaseFragment(), F
...
@@ -274,15 +274,15 @@ class FriendsFragment(private var isResume: Boolean = false) : BaseFragment(), F
.
create
()
.
create
()
tv_yesterday_bonus
.
text
=
SpanUtils
()
tv_yesterday_bonus
.
text
=
SpanUtils
()
.
append
(
data
.
contribution_yesterday
.
toString
(
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_FF7C00
))
.
append
(
String
.
format
(
"%.2f"
,
data
.
contribution_yesterday
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_FF7C00
))
.
create
()
.
create
()
tv_today_bonus
.
text
=
SpanUtils
()
tv_today_bonus
.
text
=
SpanUtils
()
.
append
(
data
.
contribution_today
.
toString
(
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_E72C2B
))
.
append
(
String
.
format
(
"%.2f"
,
data
.
contribution_today
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_E72C2B
))
.
create
()
.
create
()
tv_bonus_money
.
text
=
SpanUtils
()
tv_bonus_money
.
text
=
SpanUtils
()
.
append
(
data
.
cash
.
toString
(
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_E72C2B
))
.
append
(
String
.
format
(
"%.2f"
,
data
.
cash
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_E72C2B
))
.
append
(
"元"
).
setFontSize
(
BubbleUtils
.
dp2px
(
14
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_E72C2B
))
.
append
(
"元"
).
setFontSize
(
BubbleUtils
.
dp2px
(
14
)).
setForegroundColor
(
resources
.
getColor
(
R
.
color
.
color_E72C2B
))
.
create
()
.
create
()
...
...
app/src/main/res/layout/fragment_main_friends.xml
View file @
32edb132
...
@@ -174,7 +174,7 @@
...
@@ -174,7 +174,7 @@
android:gravity=
"center"
android:gravity=
"center"
android:paddingEnd=
"10dp"
android:paddingEnd=
"10dp"
android:text=
"@string/dot"
android:text=
"@string/dot"
android:textSize=
"
22
sp"
android:textSize=
"
18
sp"
app:layout_constraintBottom_toTopOf=
"@id/tv_today_bonus"
app:layout_constraintBottom_toTopOf=
"@id/tv_today_bonus"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintHorizontal_weight=
"1"
...
@@ -189,7 +189,7 @@
...
@@ -189,7 +189,7 @@
android:gravity=
"center"
android:gravity=
"center"
android:paddingEnd=
"10dp"
android:paddingEnd=
"10dp"
android:text=
"@string/dot"
android:text=
"@string/dot"
android:textSize=
"
22
sp"
android:textSize=
"
18
sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintHorizontal_weight=
"1"
app:layout_constraintHorizontal_weight=
"1"
...
@@ -227,7 +227,7 @@
...
@@ -227,7 +227,7 @@
android:layout_marginStart=
"6dp"
android:layout_marginStart=
"6dp"
android:layout_marginTop=
"40dp"
android:layout_marginTop=
"40dp"
android:text=
"@string/dot"
android:text=
"@string/dot"
android:textSize=
"
22
sp"
/>
android:textSize=
"
18
sp"
/>
<Button
<Button
android:id=
"@+id/btn_get_bonus"
android:id=
"@+id/btn_get_bonus"
...
...
local.properties
View file @
32edb132
...
@@ -4,5 +4,5 @@
...
@@ -4,5 +4,5 @@
# Location of the SDK. This is only used by Gradle.
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# For customization when using a Version Control System, please read the
# header note.
# header note.
#
Mon Mar 08 19:40:5
5 CST 2021
#
Wed Mar 10 10:02:2
5 CST 2021
sdk.dir
=
/Users/
Hello
/Library/Android/sdk
sdk.dir
=
/Users/
mcg
/Library/Android/sdk
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