Please Read through.
So i took time, after i came up with a mock up to try and make it easier for the team to implement the following activities . All fragments are on Fragments folder. I added a folder Util too, for our utils, I added class Session and the BottomNavigationViewHelper in there which we will help us with navigation.
-
Project Activity
-
Interest Activity
-
Feeds Activity
So on the manifest i decided to start .MainActivity so that we can implement this first as we wait for the Firebase team to implement Login and Sign-up so this means we can work on the rest as we look into this slowly.
So i strongly suggest running everything from the MainActivity. The main should start the Login and the Login should prompt the Sign up like that.
Also on Main Activity i introduced a Bottom Navigator to help users maneuver through the app to get to activities. I decided not to do everything since this is team work and contribution is appreciated. As you can see i also included this code: which i have commented out first so that we can work on designs :)
NOTE
this code should help us start activities and know how they follow each other.
@Override
public boolean onNavigationItemSelected(@NonNull MenuItem item) {
switch (item.getItemId()) {
case R.id.action_feeds:
fragment = new FeedsFragment();
break;
case R.id.action_interests:
fragment = new InterestFragment();
break;
case R.id.action_projects:
fragment = new ProjectsFragment();
break;
case R.id.action_profile:
fragment = new ProfileFragment();
break;
}
}
I have indeed commented out some of my code so that we can allow room for changes but please dont delete read through.
This could not fit on the commit hence why i created it as an issue. As for the navigation drawer , i was just drawing a mock-up lets have it on the default location - left, wanted to show case what will be in there as per what we discussed on our hangout.
NOTE: users should be able to pick their own colors. I picked blue on my mock up
For more questions feel free to ask me.