Rules:
- Use any additional libraries you wish considering the ones already included with this project.
- Use your choice of Kotlin or Java
- Use your choice of Activities or Fragments
- Talk though what your are doing and communicate as much as possible.
- You may use the internet and or any development tool / resource you normally use. (With the exception of other individuals.)
Scenario: A user is viewing a list of questions (QuestionsFragment.java)
When: A user clicks on the "VIEW ANSWERS" button
Then: The screen should transition to another screen
And: "Answers" should display in the toolbar
Scenario: A user is viewing the answers to a stack overflow question
Given: A user has clicked on the "VIEW ANSWERS" button (QuestionsFragment.java)
When: The user is viewing the question's answers screen
Then: The answers should be displayed in a scrollable list
When: The answers list is empty
Then: Text saying "No answers" should be displayed
When: The back button is pressed
Then: The user should be returned to the questions list they were previously on
And: Their previous scroll position should be preserved
Scenario: A user is viewing a list of questions (QuestionsFragment.java)
When: When the questions are displayed
Then: The user's name should be displayed
And: The user's avatar image should be displayed
Scenario: A user is viewing a list of questions (QuestionsFragment.java)
When: When the questions are displayed
Then: The question date should be displayed in the following format Sunday, Sept. 17, 2017
Scenario: A user is viewing a list of questions (QuestionsFragment.java)
When: A page of questions are displayed
And: The user begins to scroll past the first item in the last page
Then: Subsequent pages should be loaded