We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc2fdd commit 365c5afCopy full SHA for 365c5af
app/src/main/java/com/hazz/kotlinmvp/ui/activity/MainActivity.kt
@@ -84,8 +84,6 @@ class MainActivity : BaseActivity() {
84
private fun switchFragment(position: Int) {
85
val transaction = supportFragmentManager.beginTransaction()
86
hideFragments(transaction)
87
- showToast(supportFragmentManager.fragments.size.toString())
88
- /*重复进入退出视频详情页会导致fragment不断增加*/
89
when (position) {
90
0 //首页
91
-> if (mHomeFragment == null) {
0 commit comments