diff --git a/android/app/src/main/java/com/now/naaga/presentation/common/dialog/DialogType.kt b/android/app/src/main/java/com/now/naaga/presentation/common/dialog/DialogType.kt deleted file mode 100644 index 5d5bdeb18..000000000 --- a/android/app/src/main/java/com/now/naaga/presentation/common/dialog/DialogType.kt +++ /dev/null @@ -1,5 +0,0 @@ -package com.now.naaga.presentation.common.dialog - -enum class DialogType { - LOCATION, CAMERA -} diff --git a/android/app/src/main/java/com/now/naaga/presentation/onadventure/DistinctChildLiveData.kt b/android/app/src/main/java/com/now/naaga/presentation/onadventure/DistinctChildLiveData.kt deleted file mode 100644 index 18fc7c28d..000000000 --- a/android/app/src/main/java/com/now/naaga/presentation/onadventure/DistinctChildLiveData.kt +++ /dev/null @@ -1,20 +0,0 @@ -package com.now.naaga.presentation.onadventure - -import androidx.lifecycle.LifecycleOwner -import androidx.lifecycle.LiveData -import androidx.lifecycle.Observer -import java.util.concurrent.atomic.AtomicReference - -class DistinctChildLiveData(private val parentLiveData: LiveData) : LiveData() { - private val oldData = AtomicReference() - - override fun observe(owner: LifecycleOwner, observer: Observer) { - parentLiveData.observe(owner) { newData: T -> - if (oldData.get() != newData) { - oldData.set(newData) - value = newData - } - super.observe(owner, observer) - } - } -}