Ver código fonte

Code clean up

Carles Sentis 11 meses atrás
pai
commit
340335a7af
86 arquivos alterados com 12 adições e 44 exclusões
  1. BIN
      buildSrc/build/classes/kotlin/main/ConfigData.class
  2. BIN
      buildSrc/build/classes/kotlin/main/META-INF/buildSrc.kotlin_module
  3. 0 1
      buildSrc/build/kotlin/buildSrcjar-classes.txt
  4. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab
  5. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream
  6. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len
  7. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len
  8. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at
  9. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i
  10. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len
  11. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab
  12. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream
  13. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len
  14. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len
  15. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at
  16. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i
  17. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len
  18. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab
  19. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream
  20. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len
  21. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len
  22. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at
  23. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i
  24. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len
  25. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab
  26. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream
  27. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len
  28. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len
  29. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at
  30. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i
  31. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len
  32. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab
  33. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream
  34. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len
  35. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len
  36. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at
  37. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i
  38. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len
  39. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab
  40. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
  41. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len
  42. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len
  43. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
  44. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i
  45. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len
  46. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab
  47. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream
  48. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len
  49. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len
  50. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at
  51. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i
  52. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len
  53. 0 2
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/counters.tab
  54. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab
  55. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream
  56. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len
  57. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
  58. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at
  59. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i
  60. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
  61. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab
  62. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream
  63. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len
  64. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
  65. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at
  66. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab
  67. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
  68. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len
  69. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.len
  70. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
  71. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i
  72. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
  73. BIN
      buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin
  74. BIN
      buildSrc/build/kotlin/compileKotlin/local-state/build-history.bin
  75. BIN
      buildSrc/build/libs/buildSrc.jar
  76. 0 2
      buildSrc/build/tmp/jar/MANIFEST.MF
  77. 1 1
      core/location/build.gradle.kts
  78. 1 1
      core/location/src/androidTest/java/com/codeskraps/core/location/ExampleInstrumentedTest.kt
  79. 2 2
      core/location/src/main/java/com/codeskraps/core/location/data/DefaultLocationTracker.kt
  80. 3 5
      core/location/src/main/java/com/codeskraps/core/location/di/CoreLocationModule.kt
  81. 1 1
      core/location/src/main/java/com/codeskraps/core/location/domain/LocationTracker.kt
  82. 1 1
      core/location/src/test/java/com/codeskraps/core/location/ExampleUnitTest.kt
  83. 1 1
      feature/geocoding/src/main/java/com/codeskraps/feature/geocoding/data/repository/GeocodingRepositoryImpl.kt
  84. 1 1
      feature/maps/src/main/java/com/codeskraps/maps/presentation/MapViewModel.kt
  85. 1 1
      feature/weather/src/main/java/com/codeskraps/feature/weather/presentation/WeatherViewModel.kt
  86. 0 25
      feature/weather/src/main/java/com/codeskraps/feature/weather/presentation/components/WeatherScreen.kt

BIN
buildSrc/build/classes/kotlin/main/ConfigData.class


BIN
buildSrc/build/classes/kotlin/main/META-INF/buildSrc.kotlin_module


+ 0 - 1
buildSrc/build/kotlin/buildSrcjar-classes.txt

@@ -1 +0,0 @@
-/Users/colosseum/AndroidStudioProjects/weather/buildSrc/build/classes/kotlin/main/ConfigData.class

BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/constants.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len


+ 0 - 2
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/counters.tab

@@ -1,2 +0,0 @@
-1
-0

BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len


BIN
buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin


BIN
buildSrc/build/kotlin/compileKotlin/local-state/build-history.bin


BIN
buildSrc/build/libs/buildSrc.jar


+ 0 - 2
buildSrc/build/tmp/jar/MANIFEST.MF

@@ -1,2 +0,0 @@
-Manifest-Version: 1.0
-

+ 1 - 1
core/location/build.gradle.kts

@@ -7,7 +7,7 @@ plugins {
 }
 
 android {
-    namespace = "com.codeskraps.location"
+    namespace = "com.codeskraps.core.location"
     compileSdk = ConfigData.compileSdk
 
     defaultConfig {

+ 1 - 1
core/location/src/androidTest/java/com/codeskraps/location/ExampleInstrumentedTest.kt → core/location/src/androidTest/java/com/codeskraps/core/location/ExampleInstrumentedTest.kt

@@ -1,4 +1,4 @@
-package com.codeskraps.location
+package com.codeskraps.core.location
 
 import androidx.test.platform.app.InstrumentationRegistry
 import androidx.test.ext.junit.runners.AndroidJUnit4

+ 2 - 2
core/location/src/main/java/com/codeskraps/location/data/DefaultLocationTracker.kt → core/location/src/main/java/com/codeskraps/core/location/data/DefaultLocationTracker.kt

@@ -1,4 +1,4 @@
-package com.codeskraps.location.data
+package com.codeskraps.core.location.data
 
 import android.Manifest
 import android.app.Application
@@ -7,7 +7,7 @@ import android.content.pm.PackageManager
 import android.location.Location
 import android.location.LocationManager
 import androidx.core.content.ContextCompat
-import com.codeskraps.location.domain.LocationTracker
+import com.codeskraps.core.location.domain.LocationTracker
 import com.google.android.gms.location.FusedLocationProviderClient
 import kotlinx.coroutines.suspendCancellableCoroutine
 import javax.inject.Inject

+ 3 - 5
core/location/src/main/java/com/codeskraps/location/di/CoreLocationModule.kt → core/location/src/main/java/com/codeskraps/core/location/di/CoreLocationModule.kt

@@ -1,14 +1,12 @@
-package com.codeskraps.location.di
+package com.codeskraps.core.location.di
 
 import android.app.Application
-import com.codeskraps.location.data.DefaultLocationTracker
-import com.codeskraps.location.domain.LocationTracker
-import com.google.android.gms.location.FusedLocationProviderClient
+import com.codeskraps.core.location.data.DefaultLocationTracker
+import com.codeskraps.core.location.domain.LocationTracker
 import com.google.android.gms.location.LocationServices
 import dagger.Module
 import dagger.Provides
 import dagger.hilt.InstallIn
-import dagger.hilt.android.components.ViewModelComponent
 import dagger.hilt.components.SingletonComponent
 import javax.inject.Singleton
 

+ 1 - 1
core/location/src/main/java/com/codeskraps/location/domain/LocationTracker.kt → core/location/src/main/java/com/codeskraps/core/location/domain/LocationTracker.kt

@@ -1,4 +1,4 @@
-package com.codeskraps.location.domain
+package com.codeskraps.core.location.domain
 
 import android.location.Location
 

+ 1 - 1
core/location/src/test/java/com/codeskraps/location/ExampleUnitTest.kt → core/location/src/test/java/com/codeskraps/core/location/ExampleUnitTest.kt

@@ -1,4 +1,4 @@
-package com.codeskraps.location
+package com.codeskraps.core.location
 
 import org.junit.Test
 

+ 1 - 1
feature/geocoding/src/main/java/com/codeskraps/feature/geocoding/data/repository/GeocodingRepositoryImpl.kt

@@ -11,7 +11,7 @@ class GeocodingRepositoryImpl @Inject constructor(
     private val api: GeocodingApi,
 ) : GeocodingRepository {
 
-    override suspend fun getGeoLocation(query: String): Resource<List<com.codeskraps.core.local.domain.model.GeoLocation>> {
+    override suspend fun getGeoLocation(query: String): Resource<List<GeoLocation>> {
         return try {
             if (query.length < 3) throw Exception("Not enough length")
             val data = api.getGeoLocation(query.trim())

+ 1 - 1
feature/maps/src/main/java/com/codeskraps/maps/presentation/MapViewModel.kt

@@ -7,7 +7,7 @@ import com.codeskraps.core.local.domain.repository.LocalResourceRepository
 import com.codeskraps.feature.common.dispatcher.DispatcherProvider
 import com.codeskraps.feature.common.mvi.StateReducerViewModel
 import com.codeskraps.feature.common.util.Resource
-import com.codeskraps.location.domain.LocationTracker
+import com.codeskraps.core.location.domain.LocationTracker
 import com.codeskraps.maps.presentation.mvi.MapAction
 import com.codeskraps.maps.presentation.mvi.MapEvent
 import com.codeskraps.maps.presentation.mvi.MapState

+ 1 - 1
feature/weather/src/main/java/com/codeskraps/feature/weather/presentation/WeatherViewModel.kt

@@ -15,7 +15,7 @@ import com.codeskraps.feature.weather.domain.repository.WeatherRepository
 import com.codeskraps.feature.weather.presentation.mvi.WeatherAction
 import com.codeskraps.feature.weather.presentation.mvi.WeatherEvent
 import com.codeskraps.feature.weather.presentation.mvi.WeatherState
-import com.codeskraps.location.domain.LocationTracker
+import com.codeskraps.core.location.domain.LocationTracker
 import dagger.hilt.android.lifecycle.HiltViewModel
 import kotlinx.coroutines.launch
 import javax.inject.Inject

+ 0 - 25
feature/weather/src/main/java/com/codeskraps/feature/weather/presentation/components/WeatherScreen.kt

@@ -63,9 +63,6 @@ fun WeatherScreen(
     navRoute: (String) -> Unit
 ) {
 
-    var menuExpanded by remember {
-        mutableStateOf(false)
-    }
     var showDialog by remember {
         mutableStateOf(false)
     }
@@ -152,28 +149,6 @@ fun WeatherScreen(
                             contentDescription = resources.getString(R.string.current_location)
                         )
                     }
-                    /*
-                    IconButton(onClick = { menuExpanded = true }) {
-                        Icon(
-                            imageVector = Icons.Default.MoreVert,
-                            tint = MaterialTheme.colorScheme.primary,
-                            contentDescription = "Menu"
-                        )
-                    }
-                    DropdownMenu(
-                        modifier = Modifier.background(MaterialTheme.colorScheme.background),
-                        expanded = menuExpanded,
-                        onDismissRequest = { menuExpanded = false })
-                    {
-                        DropdownMenuItem(
-                            onClick = { showDialog = true },
-                            text = { Text(text = "Save Location") }
-                        )
-                        DropdownMenuItem(
-                            onClick = { /*TODO*/ },
-                            text = { Text(text = "About") }
-                        )
-                    }*/
                 },
             )
         },