Closed AhmadMuzakkir closed 7 years ago
I prefer that the error messages are got from getErrorMessage()
in BaseActivity
.
PrayerFragment
and MosqueFragment
will specially handle those exceptions. For SecurityException
the fragments the button would request the permission while the TimeoutException
would retry as usual.
Closing in favor of https://github.com/MalaysiaPrayerTimes/android/pull/19.
I override getErrorMessage() on the affected fragments.
Not sure whether I should change it on the base getErrorMessage().