“ iRest - Nearby Restaurants Template” Documentation by “Lama Team” v1.0


“iRest - Nearby Restaurants Template”

Created: 11/10/2016
By: Lama Team
Email: hello@lama.md

Thank you for purchasing my theme. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!


Table of Contents

  1. Introduction
  2. Project Structure
  3. Change Explore View Data
  4. Change News View Data
  5. Change Promotions View Data
  6. Requirements
  7. Dependencies

1. Introduction - top

This android restaurant template application has to be used as a reference for developing an android application for restaurants. The business logic is not included.

This template needs further development for a fully working application with static information or information from server.

If you are a business owner, please contanct an Android Developer to further use this product.

2. Project Structure - top

The structure of the android application:

Project Structure

3. Change Explore View Data- top

Explore View

Change Food Menu Groups Data

In order to change the food menu groups from the HorizontalScrollView go to the following method:

fragments > ExploreFragment > setHorizontalMockDataItems()

and update the model or add as many items as you need as following:

            HorizontalGroupModel breakfast = new HorizontalGroupModel();
            int id = 1;
            breakfast.setId(String.valueOf(id));
            breakfast.setImage("http://i.imgur.com/mZLikjn.jpg");
            breakfast.setTitle("Breakfast");
            groupModels.add(breakfast);

Change nearby Restaurants Data

In order to change the nearby restaurants go to the following method:

fragments > ExploreFragment > setListviewItems()

and update the model or add as many items as you need as following:

NearbyModel nearbyModel = new NearbyModel();
            nearbyModel.setImage("http://i.imgur.com/TgPfPRs.jpg");
            nearbyModel.setTitle("Trattoria");
            nearbyModel.setDistance("0.5 km");
            nearbyModel.setPromos("4 Promos");
            nearbyModel.setRating("8.2");
            nearbyModels.add(nearbyModel);

4. Change News View Data- top

In order to change the news view data go to the following method:

fragments > NewsFragment > setNewsData()

and update the model or add as many items as you need as following:

            NewsModel newsModel = new NewsModel();
            newsModel.setLogoIcon("http://i.imgur.com/YJRDWHu.png");
            newsModel.setTitle("limited offer!");
            newsModel.setText("New Bussiness Lunch added in menu");
            newsModel.setImage("http://i.imgur.com/We5SBiw.jpg");
            newsModels.add(newsModel);

5. Change Promotions View Data- top

In order to change the promotions view data go to the following method:

fragments > PromoFragment > setPromoItems()

and update the model or add as many items as you need as following:

            PromoModel promoModel = new PromoModel();
            promoModel.setTitle("Trattoria");
            promoModel.setText("Free shipping in weeekends!");
            promoModel.setImage("http://i.imgur.com/TgPfPRs.jpg");
            promoModels.add(promoModel);

6. Requirements- top

The application supports Android API ver. 17+ and uses Gradle 2.2.0

7. Dependencies- top

The application has the following dependencies:


Once again, thank you so much for purchasing this theme. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the themes on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.

Lama Team

Go To Table of Contents