Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
HBHAndroid
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
1
Merge Requests
1
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
杨秀秀
HBHAndroid
Commits
93be33e7
Commit
93be33e7
authored
Jul 26, 2024
by
小费同学阿
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
基础搭建
功能开发 1:bug 修复 客商端修复登录超时问题
parent
227bfe4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
HomeActivity.java
...rc/main/java/com/xx/merchanthbh/ui/home/HomeActivity.java
+18
-18
No files found.
app/src/main/java/com/xx/merchanthbh/ui/home/HomeActivity.java
View file @
93be33e7
...
@@ -72,24 +72,6 @@ public class HomeActivity extends BaseActivity<ActivityHomeBinding, HomeViewMode
...
@@ -72,24 +72,6 @@ public class HomeActivity extends BaseActivity<ActivityHomeBinding, HomeViewMode
@Override
@Override
public
void
initData
()
{
public
void
initData
()
{
super
.
initData
();
// 初始化底部导航栏
BottomNavigationView
bottomNavigationView
=
findViewById
(
R
.
id
.
bottom_navigation_view
);
bottomNavigationView
.
setOnNavigationItemSelectedListener
(
navItemSelectedListener
);
// 显示默认的 Fragment
getSupportFragmentManager
().
beginTransaction
().
replace
(
R
.
id
.
fragment_container
,
new
HomeFragment
()).
commit
();
}
@Override
public
int
initVariableId
()
{
return
BR
.
hmViewModel
;
}
@Override
public
void
onStart
()
{
super
.
onStart
();
// 获取Intent对象
// 获取Intent对象
Intent
intent
=
getIntent
();
Intent
intent
=
getIntent
();
...
@@ -119,6 +101,24 @@ public class HomeActivity extends BaseActivity<ActivityHomeBinding, HomeViewMode
...
@@ -119,6 +101,24 @@ public class HomeActivity extends BaseActivity<ActivityHomeBinding, HomeViewMode
}
}
}
}
}
}
super
.
initData
();
// 初始化底部导航栏
BottomNavigationView
bottomNavigationView
=
findViewById
(
R
.
id
.
bottom_navigation_view
);
bottomNavigationView
.
setOnNavigationItemSelectedListener
(
navItemSelectedListener
);
// 显示默认的 Fragment
getSupportFragmentManager
().
beginTransaction
().
replace
(
R
.
id
.
fragment_container
,
new
HomeFragment
()).
commit
();
}
@Override
public
int
initVariableId
()
{
return
BR
.
hmViewModel
;
}
@Override
public
void
onStart
()
{
super
.
onStart
();
}
}
...
...
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