Glossary - CMPUT301F14T06/Team06MapleSyrup GitHub Wiki

Favourite - Questions specified by user/author as their favourite. The favourite questions will be cached locally. From Requirements Specification 18 and 19

Add Image icon -Icon which appears at the bottom of CreateQuestionActivity/CreateAnswerActivity and brings up the camera/gallary(any picture software that is avaliable on the device) when clicked.

Sort - Order questions by specific criteria (Number of favourites, date, Score and pictures). From Requirements Specification 9 and 10

LoginActivity -An Activity allow a user to login.

MainActivity - An Activity with four fragment: main fragment, favoriate fragment, search fragment and author fragment and a radiou group button at the bottom that allows user to switch between the fragment and also a add question button for author to add questions.

FragmentMain - A Fragment that has a sort spinner and a list of view of all the topics.

FragmentFav - A Fragment that shows the favoriate question of the user. Can be seen even offline

FragmentSearch - A Fragment that for user to search questions and answers that contain input key words.

FragmentProfile - A Fragment for user to login/logout and to enter the view that contains questions that he/her asked, local cached questions or favoriate questions.

CreateQuestionActivity - The activity opens while the add question button is been clicked. This Activity allows author to enter Title, content and add pictures < 64 bits. Click Submit to submit the question, cancel to cancel the creation.

MyQuestionActivity - The activity shows the questions that the logined author asked.

QuestionDetailActivity - The activity that shows the questions full content, replys, and answers.

User - User is anyone who can read, favourite, select or search a questions to read later. Everyone is allowed to be a user. A user can becomes an Author if they choose to login.

Author -An author is a user that has login by a username and has the ability to post questions, answers, replies, and modify their profile. Once user login with a new username, a new author is created.

Username -An Username is for user to login and also an identifier to show who is posting questions, answers or replies. The Username can be edit in profile fragment and is unique.

AuthorMap -The map of all authors, key is the username.

QuestionListModel -The list of questions associated with a given reply or answer.

InputsModel - An abstract class for Question, Answer, and Reply.

Question - An question may contain photo, title and text and is created by an author. Question can be pushed to be viewed by all users, and can be replied/answered by all authors. All user can upvote the Question.

Answer - An answer may contain photos and text and is created by an author. Question can be pushed to be viewed by all users, and can be replied by all authors. All user can upvote/downvote the Answer.

Reply - An reply may contain text and is created by an author, used for clarify things. Reply can be pushed to be viewed by all users.

Upvote - A button for user to click, indicate that they like/agree this Question/Answer. From Requirements Specification 11, 12 and 13

Score - sum of all upvotes of answers in the question plus the upvote of the answer.

Sort by Question Upvote - the most upvote question can be viewed by sort the question list by question upvote.

Sort by AnswerUpvote - the most upvote answer. Can be viewed by sort the question list by answer upvote.