Answered step by step
Verified Expert Solution
Link Copied!

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.
1. A page using a RecyclerView that displays a list of all properties for sale.
2. A page using a ViewPager that displays details for each individual property.
3. 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 new/updated data will be held in a Temporal Data Structure.
Page 2 of 5
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:
1. The Street Address, suburb, state, postcode
2. 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 (i.e., the properties list
page).
Page 3 of 5
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:
1. Street Address
2. Suburb
3. State
4. Postcode
5. 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 4 of 5
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:
1. The address or suburb field is empty
2. The price is not a whole number and is less than 1000
If an error has occurred, the application will stay on the new property details page.The application will consist of three screens or pages.
1. A page using a RecyclerView that displays a list of all properties for sale.
2. A page using a ViewPager that displays details for each individual property.
3. 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 new/updated data will be held in a Temporal Data Structure.
Page 2 of 5
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:
1. The Street Address, suburb, state, postcode
2. 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 (i.e., the properties list
page).
Page 3 of 5
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:
1. Street Address
2. Suburb
3. State
4. Postcode
5. 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 4 of 5
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:
1. The address or suburb field is empty
2. The price is not a whole number and is less than 1000
If an error has occurred, the application will stay on the new property details page.The application will consist of three screens or pages.
1. A page using a RecyclerView that displays a list of all properties for sale.
2. A page using a ViewPager that displays details for each individual property.
3. A page to add new property.
Clicking on

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Administration

Authors: Peter Carter

1st Edition

1484207106, 9781484207109

More Books

Students also viewed these Databases questions