Skip to content

Commit

Permalink
Update MainActivity.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
git-xuhao authored Dec 20, 2017
1 parent 9dc2fdd commit 365c5af
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ class MainActivity : BaseActivity() {
private fun switchFragment(position: Int) {
val transaction = supportFragmentManager.beginTransaction()
hideFragments(transaction)
showToast(supportFragmentManager.fragments.size.toString())
/*重复进入退出视频详情页会导致fragment不断增加*/
when (position) {
0 //首页
-> if (mHomeFragment == null) {
Expand Down

0 comments on commit 365c5af

Please sign in to comment.