enviroCar / enviroCar-app

enviroCar Android Application
https://envirocar.org
GNU General Public License v3.0
89 stars 158 forks source link

Swipe-to-Refresh in My Cars section #930

Open Akash-Ramjyothi opened 2 years ago

Akash-Ramjyothi commented 2 years ago

Fixes: #929.

Description:

Added Swipe-to-Refresh functionality in the My Cars, Car selection section of the app. The user interaction triggers callback methods that update the data with the help of SwipeRefreshLayout widget.

Akash-Ramjyothi commented 2 years ago

@asaikarthikeya please review my PR.

asaikarthikeya commented 2 years ago

Hello @Akash-Ramjyothi, Kindly add screenshots so that we could see the visual changes that you have made. Thanks

Akash-Ramjyothi commented 2 years ago

Swipe-to-Refresh feature:

https://user-images.githubusercontent.com/54114888/178649058-305c70e2-5c25-4cb4-98c1-9439c3f725d2.mp4

SebaDro commented 2 years ago

Is this feature really required? New cars are only added via the app, so the car list should be synchronized by design. Any edge cases?