Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The application will consist of three screens or pages. 1 . A page using a RecyclerView that displays a list of all properties for sale.
The application will consist of three screens or pages.
A page using a RecyclerView that displays a list of all properties for sale.
A page using a ViewPager that displays details for each individual property.
A page to add new property.
Clicking on a list item will open the details page for that property in the ViewPager and provide facilities
to edit the details. Note that the newupdated data will be held in a Temporal Data Structure.
Page of
Properties List Page
The properties list page will implement a scrollable RecyclerView listing all properties. The RecyclerView
must use a view holder, data adapter and custom layout.
Each list item will be displayed in the format shown above and include:
The Street Address, suburb, state, postcode
The Sale Price
Text must be constructed as shown and the font must be set appropriately for the first line.
An initial set of properties as shown above must be displayed on startup.
Clicking on a list item will open the corresponding details page containing the information for the
selected property. These details can be changed, and by clicking the back button, the property's
information will be updated, and the user will navigate back to the main page ie the properties list
page
Page of
Property Details Page New Property Page
The Details page will use a ViewPager and will consist of the following editable fields in addition to the
buttons:
Street Address
Suburb
State
Postcode
Sale Price no decimal places
Activities and Fragments
Both the list page and the details page must use an activity containing fragments as per the textbook and
tutorials
Page of
Buttons
If the New Property button is selected:
The New Property page is opened. The fields on the details page will be cleared
Clicking the Back button will discard the new property and return to the property's list page.
If the Save button is selected:
The application will return to the property's list page.
The property's list page will display the updated list with the new property.
Errors
A toast must be shown with an error message if the Save button is selected and either of the following
occurs:
The address or suburb field is empty
The price is not a whole number and is less than
If an error has occurred, the application will stay on the new property details page.The application will consist of three screens or pages.
A page using a RecyclerView that displays a list of all properties for sale.
A page using a ViewPager that displays details for each individual property.
A page to add new property.
Clicking on a list item will open the details page for that property in the ViewPager and provide facilities
to edit the details. Note that the newupdated data will be held in a Temporal Data Structure.
Page of
Properties List Page
The properties list page will implement a scrollable RecyclerView listing all properties. The RecyclerView
must use a view holder, data adapter and custom layout.
Each list item will be displayed in the format shown above and include:
The Street Address, suburb, state, postcode
The Sale Price
Text must be constructed as shown and the font must be set appropriately for the first line.
An initial set of properties as shown above must be displayed on startup.
Clicking on a list item will open the corresponding details page containing the information for the
selected property. These details can be changed, and by clicking the back button, the property's
information will be updated, and the user will navigate back to the main page ie the properties list
page
Page of
Property Details Page New Property Page
The Details page will use a ViewPager and will consist of the following editable fields in addition to the
buttons:
Street Address
Suburb
State
Postcode
Sale Price no decimal places
Activities and Fragments
Both the list page and the details page must use an activity containing fragments as per the textbook and
tutorials
Page of
Buttons
If the New Property button is selected:
The New Property page is opened. The fields on the details page will be cleared
Clicking the Back button will discard the new property and return to the property's list page.
If the Save button is selected:
The application will return to the property's list page.
The property's list page will display the updated list with the new property.
Errors
A toast must be shown with an error message if the Save button is selected and either of the following
occurs:
The address or suburb field is empty
The price is not a whole number and is less than
If an error has occurred, the application will stay on the new property details page.The application will consist of three screens or pages.
A page using a RecyclerView that displays a list of all properties for sale.
A page using a ViewPager that displays details for each individual property.
A page to add new property.
Clicking on
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started