Skip to content

Architecture

JamesEverette edited this page Nov 20, 2016 · 2 revisions

Architecture:

Every button changes the activity- switches from one screen to another


Class: LoginScreen

Facebook login button: onFacebookButtonClick()

Next/login button: onLoginButtonClick()

Username and password: attemptLogin()

Makes sure password is a valid

Makes sure username/email is valid


Boolean operators/methods

validFortmat()-Makes sure the username and password FORMAT is valid.

authenticate() - Authenticates email/username

onPostExecute() - tells user the password is invalid etc….


Class: GroupChoices

Find study group button: onFindStudyButtonClick()

Create study group button: onCreateStudyGroup()

My study group button: onMyStudyGroups()


Class: CreateGroup

Location:

Time:

Date:

Description:

Book a study room in TCOOP:

Create button: onCreateButton()-> also add a method where if a group is created it will add a button to the next class(MyGroups)


Class: Group

This class will include all the details regarding the event or group. Some of the functions that Group will include will be

setGroupName()

getGroupName()

setGroupTitle()

getGroupTitle()

setGroupLocation()

getGroupLocation()

setGroupHost()

getGroupHost()

This class will also include a data structure that holds an instance of app users variable which will keep a list of members who have joined the group


Class: MyGroups

Each group is a different button(method) that changes activities. Takes user to group event.

Method that grabs group information from firebase. Currently still researching this, and how it relates to firebase.


Class: Search

Method that Imports/finds available groups on firebase.

Still gathering information on how to complete this.

Next Button: onNextButton():


Class: GroupNameScreen:

Title: method that prompts

Date: method that prompts

Join Button: onJoinButton():

Location: method that prompts

Host: method that prompts

Method that sends group attributes to Firebase.