-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feature: Add force Refresh menu option on all the screens to fetch the latest content from the network * feature: Switch between error Text Message and Toast Message based on the forceRefresh flag * feature: Add the Refresh button to all the fragments * feature: Add Swipe Refresh for all the fragment Swipe Refresh shows the loader to showcase the progress, so it makes ProgressBar redundant * fix: Fix the app crash when force-refresh is triggered on local unavailable content page * fix: Cancel the previous toast in the same context before showing a new one
- Loading branch information
1 parent
a0959ce
commit 15da0b9
Showing
19 changed files
with
269 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
app/src/main/java/com/nagpal/shivam/vtucslab/core/UIMessageType.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
package com.nagpal.shivam.vtucslab.core | ||
|
||
enum class UIMessageType { | ||
NoActiveInternetConnectionDetailed, | ||
NoActiveInternetConnection, | ||
SomeErrorOccurred, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.