Closed wang-li closed 1 year ago
Awesome!!
Before merging, I think we should improve the mechanism to dismiss the modal. In the current state, it's not super clear to the user that they should swipe down.
Possible solutions:
Other remarks (less important):
I added the ability to dismiss the bottom sheet by clicking on the map's background, thanks for pointing to the iOS counterpart code π Another commit makes sure that the spinner is shown over a gray background when a photo is loading.
I am a bit more skeptical about the screenshot that you got, because according to the code, the problem start and its associated line are cleared before the next image will start loading, then they are displayed only upon a successful request π
We can have a short call about it if you want to discuss it further π
Sorry for the delay! I was on vacation :)
This looks great π
I am a bit more skeptical about the screenshot that you got, because according to the code, the problem start and its associated line are cleared before the next image will start loading, then they are displayed only upon a successful request π
Ok, maybe it's just a problem with the virtual device I'm using for my tests. Let's forget about it for now.
The map was not interactive when a boulder detail was shown, because the bottom sheet was implemented as a modal bottom sheet.
The previous
ProblemBSFragment
has been changed to aProblemView
custom view, so that it can be part of the bottom sheet layout.https://github.com/boolder-org/boolder-android/assets/8343416/9ca559b1-7169-4472-b76b-5667c73fb3b3
Resolves #18