fliverdev / rider

Fliver Rider for Android & iOS🛺
https://fliverdev.github.io/
GNU General Public License v3.0
84 stars 43 forks source link

[BUG] Nearby Riders snackbars are buggy #11

Closed urmilshroff closed 4 years ago

urmilshroff commented 4 years ago

Describe the bug Snackbar is displayed with random, incorrect info at times.

To reproduce Steps to reproduce the behavior:

  1. Launch the app and swipe to mark location
  2. Snackbar will show n nearby Riders
  3. It will randomly update with n+1 or n-1 nearby Riders
  4. Then it will change again

Expected behavior Snackbar should be displayed with correct info only when the number of nearby Riders actually change

urmilshroff commented 4 years ago

@prince1998 we really need to work on fixing this once and for all

urmilshroff commented 4 years ago

Practically impossible to fix this as it's an architecture/design flaw, not a minor coding issue. The whole app will need to be rewritten using a different state management technique such as BLoC.