Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set Up App Frame in Android Studio #3

Open
5 tasks done
lmsiu opened this issue Apr 3, 2021 · 1 comment
Open
5 tasks done

Set Up App Frame in Android Studio #3

lmsiu opened this issue Apr 3, 2021 · 1 comment
Assignees
Labels
todo Needs to be done - not an error yet
Projects
Milestone

Comments

@lmsiu
Copy link
Contributor

lmsiu commented Apr 3, 2021

  • Make new project, titled "Wings"

  • Setup all activities and layout.xml files needed. Design them according to the wireframes, and just ensure to make a Fragment container!

    • StartActivity{ }:
      • to switch between all not often used Fragments (Login, Register 1 and 2, ProfileSetup, and EditTrustedContacts)
    • MainActivity{ }:
      • to switch between all oftenly used Fragments (Home, UserProfile, SearchUser, ChooseBuddy, OtherProfile)
    • SettingsActivity{ }:
      • an in between, all account settings can be edited here (email, name, uses EditTrustedContacts Fragment)
  • Set up all interfaces to be used a listener from Fragments to Activities (How Fragments can invoke a method from the Activity to switch to next Fragment):

    • StartActivityListener{ }: StartActivity and all Fragments that need to be shown on the activity will use this.
      • These methods are ALL IMPLEMENTED IN StartActivity:
      • toLoginFragment(): switches to Login screen
      • toRegisterOneFragment(): swtiches to Register 1 Screen
      • toRegisterTwoFragment(): switches to Register 2 Screen
      • toProfileSetUp(): switches to Profile Setup Screen
      • toEditTrustedContacts(): switches to EditTrustedContacts Screen

    • MainActivityListener{ }: works in the EXACT same way but with MainActivity and its Fragments
      • toHomeFragment()
      • toUserProfile()
      • toSearchUser()
      • toOtherProfile()
      • toChooseBuddy()
    • @jmnguyen1999 implemented this way for her Instagram copy project, "Snapagram", but with in-class interfaces! If you need to see how it works you can take a look at "SignUpFragment.java" and how it works with "StartingActivity.java"
    • NOTE: Also more in depth on the Google Docs outline!
  • Input all color hex-values, text fonts, text sizes, icons, etc that was used in the wireframe into their corresponding res folders so others can easily design their layout files!

  • Push to GitHub

@lmsiu lmsiu added this to the Sprint #1 milestone Apr 3, 2021
@lmsiu lmsiu added the todo Needs to be done - not an error yet label Apr 3, 2021
@jmnguyen1999 jmnguyen1999 self-assigned this Apr 10, 2021
@jmnguyen1999 jmnguyen1999 added this to To do in Wings Apr 13, 2021
@jmnguyen1999 jmnguyen1999 moved this from To do to In progress in Wings Apr 13, 2021
@jmnguyen1999
Copy link
Contributor

Some fragments may require data! Here's a resource for passing data to fragments!
Passing data from activity to fragment

e.g. toOtherProfile(userId of User to show!)

@jmnguyen1999 jmnguyen1999 moved this from In progress to Done in Wings Apr 14, 2021
jmnguyen1999 added a commit to jmnguyen1999/Wings that referenced this issue Apr 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo Needs to be done - not an error yet
Projects
Wings
Done
Development

No branches or pull requests

2 participants