geosolutions-it / smb-android

GoodGo Android app
GNU General Public License v3.0
2 stars 6 forks source link

Refresh tracks and Sessions on track validation notification. #77

Closed offtherailz closed 6 years ago

offtherailz commented 6 years ago

Actually, when user receives a notification of track validated, the sessions and tracks list is not updated. The user have to drag the view and this is misleading. I fixed it sending a BroadcastNotification when validation notification is received. The 2 Fragments register as broadcast receivers.

Minor Fixes when when resume application, sometimes refresh handlers throw NullPointerExceptions because components (viewPagers) that are not initialized.