Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_flowbox
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_flowbox
Commits
88531a62
Commit
88531a62
authored
Jul 26, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化1.0.1发版
parent
44569fae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
build.gradle
app/build.gradle
+2
-2
SplashPresenter.kt
.../java/com/mints/flowbox/mvp/presenters/SplashPresenter.kt
+4
-1
AwardActivity.kt
...main/java/com/mints/flowbox/ui/activitys/AwardActivity.kt
+1
-1
No files found.
app/build.gradle
View file @
88531a62
...
...
@@ -13,8 +13,8 @@ android {
applicationId
rootProject
.
APPLICATION_ID
minSdkVersion
rootProject
.
ext
.
androidMinSdkVersion
targetSdkVersion
rootProject
.
ext
.
androidTargetSdkVersion
versionCode
1
versionName
"1.0.
0
"
versionCode
2
versionName
"1.0.
1
"
flavorDimensions
"default"
// dex突破65535的限制
...
...
app/src/main/java/com/mints/flowbox/mvp/presenters/SplashPresenter.kt
View file @
88531a62
package
com.mints.flowbox.mvp.presenters
import
com.mints.flowbox.MintsApplication
import
com.mints.flowbox.manager.AppHttpManager
import
com.mints.flowbox.mvp.model.BaseResponse
import
com.mints.flowbox.mvp.model.SplashAppBean
import
com.mints.flowbox.mvp.views.SplashView
import
com.mints.library.net.neterror.BaseSubscriber
import
com.mints.library.net.neterror.Throwable
import
java.util.HashMap
import
com.mints.library.utils.CommonUtils
import
java.util.*
class
SplashPresenter
:
BasePresenter
<
SplashView
>()
{
...
...
@@ -14,6 +16,7 @@ class SplashPresenter : BasePresenter<SplashView>() {
view
.
showLoading
(
"加载中..."
)
val
vo
=
HashMap
<
String
,
Any
>()
vo
[
"os"
]
=
"Android"
vo
[
"channel"
]
=
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"CHANNEL_NAME"
)
AppHttpManager
.
getInstance
(
loanApplication
)
.
call
(
loanService
.
getCloseNeedInitAppsCount
(
vo
),
object
:
BaseSubscriber
<
BaseResponse
<
SplashAppBean
>>()
{
...
...
app/src/main/java/com/mints/flowbox/ui/activitys/AwardActivity.kt
View file @
88531a62
...
...
@@ -731,7 +731,7 @@ class AwardActivity : BaseActivity(), AwardView, View.OnClickListener {
val
cashStr
=
allcoinBig
.
divide
(
rateBig
).
setScale
(
2
,
BigDecimal
.
ROUND_DOWN
).
toString
()
if
(
AppConfig
.
awardCoin
>
0
)
{
tvAwardContent
.
text
=
"${AppConfig.awardCoin}金币已到账
~
"
tvAwardContent
.
text
=
"${AppConfig.awardCoin}金币已到账"
tvAwardNext
.
visibility
=
View
.
GONE
}
...
...
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