Giter Site home page Giter Site logo

cityguide's Introduction

CityGuide

City Guide is an Android App which shows different places nearby and lets the user select which type of place they want to see.

Libraries

City Guide uses:

  • the event bus library Otto for inter-module communications,
  • the Http library OkHttp for network requests,
  • the view injection library ButterKnife to simplify the UI implementation.

Architecture

The application is organized in 5 packages:

  • activities which contains MainActivity, the only activity of the application;

  • adapters which contains PlaceAdapter used for MainActivity's ListView;

  • customviews which contains 2 custom views used in the application:

    • StarRow rendering the rating of the place with pink and grey stars,
    • SliderSelector displayed as the top of the list and used for the place type selection.
  • models which contains Place, the only model object in the application.

Note: the types of place ("Bar", "Bistro" or "Café") is implemented by the enum Place.TYPE.

  • providers which contains helper classes being either Singletons or utility classes with static methods:

  • BusProvider is a singleton used as a single point of access to the application's Event Bus,

  • GeolocationProvider is a singleton used to query the device geolocation,

  • PlacesProvider is a utility class with a static method fetching the places from Google API.

cityguide's People

Contributors

lethargicpanda avatar

Watchers

James Cloos avatar Suleiman A. tawil avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.