-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of github.com:fred-juma/iGymHealth into ui-layout
- Loading branch information
Showing
8 changed files
with
59 additions
and
5 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# App Design | ||
|
||
The components and libraries used in this app are used | ||
together to bring the desired results. | ||
|
||
## API | ||
|
||
The plan for the API is to use a free API to search for results | ||
and bring them to the user without leaving the app. | ||
|
||
## Offline & Online Features | ||
|
||
The app should be able to handle the connectivity issues and only | ||
activate some features when the online/offline condition is triggered. | ||
|
||
Online Features include: | ||
- Sync with online database. | ||
- Search for exercises & nutritient diets. | ||
|
||
Offline Features include: | ||
- Sync with local database. | ||
- Save workout records. | ||
- Setup nutritient diets. | ||
- Track progress or streak. | ||
|
||
## Save Favorites | ||
|
||
The app should allow the user to save favorite articles on a local database | ||
which in turn can be synchronised to the cloud. |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# App Navigation.md | ||
|
||
The app structure is split into different parts in order to make it easier to work with. | ||
|
||
## Layout | ||
|
||
The app uses bottom bar navigation for the main UI. | ||
On the Home screen when the user clicks any of the cards. They are taken to a tab navigation UI. | ||
In that tab navigation UI there are fragments for that specific activity. | ||
|
||
## The Navigation | ||
|
||
The user can click any of the cards within the Home Fragment/Screen. | ||
The app will take the user to the relevant screen and run the activity called. | ||
In order for the user to return to the home screen they have to use the back button. | ||
This will be fixed in the future versions with deep linking, to allow the user to | ||
navigate to anywhere within the app from any point. | ||
|
||
An example of the navigation can be seen in the diagram below. | ||
|
||
<img src="images/card_navigation.png" /> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.