Skip to content

Commit 0530067

Browse files
committed
style : 함수명 변경
1 parent 39dc821 commit 0530067

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

presentation/src/main/java/com/stop/ui/placesearch/PlaceSearchFragment.kt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import com.stop.databinding.FragmentPlaceSearchBinding
2020
import com.stop.domain.model.nearplace.PlaceUseCaseItem
2121
import dagger.hilt.android.AndroidEntryPoint
2222
import kotlinx.coroutines.Dispatchers
23-
import kotlinx.coroutines.FlowPreview
2423
import kotlinx.coroutines.flow.debounce
2524
import kotlinx.coroutines.flow.launchIn
2625
import kotlinx.coroutines.flow.onEach
@@ -62,7 +61,7 @@ class PlaceSearchFragment : Fragment() {
6261
buttonClick()
6362
listenEditTextChange()
6463
logErrorMessage()
65-
observeSearchKeyword()
64+
listenSearchEditText()
6665
}
6766

6867
private fun initAdapter() {
@@ -137,8 +136,7 @@ class PlaceSearchFragment : Fragment() {
137136
}
138137
}
139138

140-
@OptIn(FlowPreview::class)
141-
private fun observeSearchKeyword() {
139+
private fun listenSearchEditText() {
142140
lifecycleScope.launch(Dispatchers.IO) {
143141
val editTextFlow = binding.textInputEditTextPlaceSearch.textChangesToFlow()
144142

0 commit comments

Comments
 (0)