In this stage we will show how to display the details and pictures of an apartment selected from the list:
To read the details of the selected apartment from the database, we need to know the apartment's Id.
Unfortunately Content Item does not contain it, so we should first add an appropriate element to Content Item and make a corresponding change to the process that creates Content Item:
The Save button within Apartment Dialog/Header was initially implemented (in stage 3) to save in the database the details and pictures of a new apartment. Now we have an apartment already existing in the database, so some changes should be introduced to the save process.
A similar change is required in the process that saves apartment pictures, because now we might have a mixture of pictures already saved to the database and new pictures.
Enjoy your new apartment! Send us pictures...
Download from AppStore (You must have iTunes installed to use this link)
For best results, use the Firefox browser..