Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_fiveworld
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_fiveworld
Commits
2ac3e0d7
Commit
2ac3e0d7
authored
Dec 08, 2021
by
mengcuiguang2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码合并
parent
b9b31c7b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
MainActivity.kt
...ain/java/com/mints/fiveworld/ui/activitys/MainActivity.kt
+3
-3
ic_launcher_main.png
app/src/main/res/drawable-xhdpi/ic_launcher_main.png
+0
-0
No files found.
app/src/main/java/com/mints/fiveworld/ui/activitys/MainActivity.kt
View file @
2ac3e0d7
...
...
@@ -21,7 +21,7 @@ import com.mints.fiveworld.mvp.model.UserTaskMsgBean
import
com.mints.fiveworld.mvp.presenters.MainPresenter
import
com.mints.fiveworld.mvp.views.MainView
import
com.mints.fiveworld.ui.activitys.base.BaseActivity
import
com.mints.fiveworld.ui.fragment.
Wifi
Fragment
import
com.mints.fiveworld.ui.fragment.
Main
Fragment
import
com.mints.fiveworld.utils.WifiUtils
import
com.permissionx.guolindev.PermissionX
...
...
@@ -45,7 +45,7 @@ class MainActivity : BaseActivity(), MainView {
mainPresenter
.
attachView
(
this
)
if
(
threeFragment
==
null
)
{
threeFragment
=
Wifi
Fragment
()
threeFragment
=
Main
Fragment
()
}
if
(!
threeFragment
!!
.
isAdded
)
{
...
...
@@ -106,7 +106,7 @@ class MainActivity : BaseActivity(), MainView {
if
(
AppPreferencesManager
.
get
().
getBoolean
(
Constant
.
IS_ONE_PERMISSIONS
,
true
))
{
AppPreferencesManager
.
get
().
put
(
Constant
.
IS_ONE_PERMISSIONS
,
false
)
checkPermission
()
(
threeFragment
as
Wifi
Fragment
).
setIsFirstEnter
(
true
)
(
threeFragment
as
Main
Fragment
).
setIsFirstEnter
(
true
)
}
baseApplication
.
initMiitHelper
()
...
...
app/src/main/res/drawable-xhdpi/ic_launcher_main.png
View replaced file @
b9b31c7b
View file @
2ac3e0d7
13.5 KB
|
W:
|
H:
10.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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