diff --git a/feature/stopdetail/src/main/java/com/chaeny/busoda/stopdetail/StopDetailViewModel.kt b/feature/stopdetail/src/main/java/com/chaeny/busoda/stopdetail/StopDetailViewModel.kt index fa9985e..e189467 100644 --- a/feature/stopdetail/src/main/java/com/chaeny/busoda/stopdetail/StopDetailViewModel.kt +++ b/feature/stopdetail/src/main/java/com/chaeny/busoda/stopdetail/StopDetailViewModel.kt @@ -13,11 +13,9 @@ internal class StopDetailViewModel(savedStateHandle: SavedStateHandle) : ViewMod private val dummyData = MutableLiveData>() private val isLoadingData = MutableLiveData() private val stopIdData = MutableLiveData(savedStateHandle.get(BUS_STOP_ID)) - private val stopNameData = MutableLiveData(savedStateHandle.get(BUS_STOP_NAME)) val busInfos: LiveData> = dummyData val isLoading: LiveData = isLoadingData val stopId: LiveData = stopIdData - val stopName: LiveData = stopNameData private val dummyDataMapCreators: Map> = mapOf( "16206" to listOf( @@ -142,6 +140,5 @@ internal class StopDetailViewModel(savedStateHandle: SavedStateHandle) : ViewMod companion object { private const val BUS_STOP_ID = "stopId" - private const val BUS_STOP_NAME = "stopName" } } diff --git a/feature/stopdetail/src/main/res/navigation/stopdetail_nav_graph.xml b/feature/stopdetail/src/main/res/navigation/stopdetail_nav_graph.xml index 7058d62..b9fd468 100644 --- a/feature/stopdetail/src/main/res/navigation/stopdetail_nav_graph.xml +++ b/feature/stopdetail/src/main/res/navigation/stopdetail_nav_graph.xml @@ -11,15 +11,11 @@ tools:layout="@layout/fragment_stop_detail"> + app:uri="android-app://com.chaeny.busoda/fragment_stop_detail?stopId={stopId}" /> - - \ No newline at end of file diff --git a/feature/stoplist/src/main/java/com/chaeny/busoda/stoplist/StopListAdapter.kt b/feature/stoplist/src/main/java/com/chaeny/busoda/stoplist/StopListAdapter.kt index 53c4f16..4baa1ff 100644 --- a/feature/stoplist/src/main/java/com/chaeny/busoda/stoplist/StopListAdapter.kt +++ b/feature/stoplist/src/main/java/com/chaeny/busoda/stoplist/StopListAdapter.kt @@ -28,8 +28,8 @@ internal class StopListAdapter : ListAdapter