Repository navigation
feat: atm map - #814
feat: atm map#814
Conversation
…te implementation
- refactor ExploreDashModule.kt
Syn-McJ
left a comment
There was a problem hiding this comment.
Looks good, there is a couple of things I've noted that are not critical.
| @@ -120,9 +124,10 @@ class ExploreMapFragment: SupportMapFragment() { | |||
|
|
|||
| // TODO: For the 1st iteration of this feature, we shall limit the number of markers to be displayed | |||
There was a problem hiding this comment.
This TODO is not needed anymore, we will limit the amount of markers in the final version too.
| private var currentUserLocationState: MutableStateFlow<UserLocation?> = MutableStateFlow(null) | ||
| val currentUserLocation = currentUserLocationState.asLiveData() | ||
|
|
||
| var maxMarkers: Int = 100 |
There was a problem hiding this comment.
Better if it's val or a constant in the companion object
- change `maxMarkers` to val
| //import org.mockito.Mockito.mock | ||
| // | ||
| // | ||
| //class ExploreViewModelTest { |
There was a problem hiding this comment.
Are these tests broken or obsolete?
There was a problem hiding this comment.
Actually the tests on ExploreViewModel are obsolete and prevented the CI from running to conclusion. There has been an update on the ExploreViewModel constructor by Andrei. He's doing some work on the feature-explore-physical branch regarding this and I saw that he commented the whole file, so I just decided to apply the same rule on my branch
There was a problem hiding this comment.
I'll restore these tests once the work on physical search is done
HashEngineering
left a comment
There was a problem hiding this comment.
Just have one question about a commented out test file.
…re-atm-map # Conflicts: # features/exploredash/src/main/java/org/dash/wallet/features/exploredash/services/UserLocationState.kt # features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/ExploreMapFragment.kt # features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/ExploreViewModel.kt # features/exploredash/src/test/java/org/dash/wallet/features/exploredash/ExploreViewModelTest.kt
Issue being fixed or feature implemented
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: