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
fc1acc15
Commit
fc1acc15
authored
Jul 21, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
7730b589
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
WifiAdManager.kt
app/src/main/java/com/mints/flowbox/ad/wifi/WifiAdManager.kt
+1
-1
AboutusActivity.kt
...in/java/com/mints/flowbox/ui/activitys/AboutusActivity.kt
+2
-0
loadingdialog.xml
app/src/main/res/layout/loadingdialog.xml
+2
-2
No files found.
app/src/main/java/com/mints/flowbox/ad/wifi/WifiAdManager.kt
View file @
fc1acc15
...
@@ -71,7 +71,7 @@ class WifiAdManager private constructor() {
...
@@ -71,7 +71,7 @@ class WifiAdManager private constructor() {
}
}
val
interstitialWeight
=
CsjGroMoreManager
.
APP_NEW_INTERSTITIAL_WEIGHT
val
interstitialWeight
=
CsjGroMoreManager
.
APP_NEW_INTERSTITIAL_WEIGHT
if
(
interstitialWeight
>
0
)
{
if
(
interstitialWeight
>
0
)
{
weightList
!!
.
add
(
WeightBean
(
interstitialWeight
,
Constant
.
GROMORE_
NEW_
INSERTSCREEN_AD
))
weightList
!!
.
add
(
WeightBean
(
interstitialWeight
,
Constant
.
GROMORE_INSERTSCREEN_AD
))
weight
=
weight
+
interstitialWeight
weight
=
weight
+
interstitialWeight
}
}
if
(
weightList
!=
null
&&
weightList
!!
.
size
>
0
&&
weight
>
0
)
{
if
(
weightList
!=
null
&&
weightList
!!
.
size
>
0
&&
weight
>
0
)
{
...
...
app/src/main/java/com/mints/flowbox/ui/activitys/AboutusActivity.kt
View file @
fc1acc15
...
@@ -35,6 +35,8 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
...
@@ -35,6 +35,8 @@ class AboutusActivity : BaseActivity(), View.OnClickListener {
iv_left_icon
.
visibility
=
View
.
VISIBLE
iv_left_icon
.
visibility
=
View
.
VISIBLE
iv_left_icon
.
setImageResource
(
R
.
mipmap
.
ic_arrow_back
)
iv_left_icon
.
setImageResource
(
R
.
mipmap
.
ic_arrow_back
)
showLoading
(
"加载中..."
)
ivAboutasIcon
.
setOnLongClickListener
{
ivAboutasIcon
.
setOnLongClickListener
{
ToastUtil
.
showLong
(
ToastUtil
.
showLong
(
MintsApplication
.
getContext
(),
"自有渠道:"
+
CommonUtils
.
getAppMetaData
(
MintsApplication
.
getContext
(),
"自有渠道:"
+
CommonUtils
.
getAppMetaData
(
...
...
app/src/main/res/layout/loadingdialog.xml
View file @
fc1acc15
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"8.0dip"
android:layout_marginBottom=
"8.0dip"
android:layout_marginTop=
"
4
.0dip"
>
android:layout_marginTop=
"
2
.0dip"
>
<TextView
<TextView
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:text=
"加载中..."
android:text=
"加载中..."
android:textColor=
"
#1ba0fc
"
android:textColor=
"
@color/white
"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
</LinearLayout>
</LinearLayout>
...
...
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