Skip to content

Commit d1b3e41

Browse files
yonghanJubngsh
andcommitted
♻️ RunningActivity.kt 생명주기 콜백 함수 리펙토링
Co-authored-by: bngsh <[email protected]>
1 parent d6cf1c9 commit d1b3e41

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

presentation/src/main/java/com/whyranoid/presentation/running/RunningActivity.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import com.whyranoid.presentation.databinding.ActivityRunningBinding
1717
import com.whyranoid.presentation.util.dateToString
1818
import com.whyranoid.presentation.util.repeatWhenUiStarted
1919
import dagger.hilt.android.AndroidEntryPoint
20-
import java.util.Date
20+
import java.util.*
2121

2222
@AndroidEntryPoint
2323
internal class RunningActivity :
@@ -85,8 +85,8 @@ internal class RunningActivity :
8585
}
8686

8787
override fun onPause() {
88-
super.onPause()
8988
mapView.onPause()
89+
super.onPause()
9090
}
9191

9292
override fun onSaveInstanceState(outState: Bundle) {
@@ -95,13 +95,13 @@ internal class RunningActivity :
9595
}
9696

9797
override fun onStop() {
98-
super.onStop()
9998
mapView.onStop()
99+
super.onStop()
100100
}
101101

102102
override fun onDestroy() {
103-
super.onDestroy()
104103
mapView.onDestroy()
104+
super.onDestroy()
105105
}
106106

107107
override fun onLowMemory() {

0 commit comments

Comments
 (0)