Giter Club home page Giter Club logo

starbuzzapp-kristoffrey's Introduction

My version of the "Starbuzz App"

This application demonstrates the hierarchy of views using a switch case and the Intent with a sample code below:

public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
                switch (position) {
                    case 0:
                        Intent goToDrinks= new Intent(TopLevelActivity.this, Drinks.class);
                        startActivity(goToDrinks);
                        break;
                    case 1:
                        Intent goToFood = new Intent(TopLevelActivity.this, Food.class);
                        startActivity(goToFood);
                        break;
                    case 2:
                        Intent goToStores = new Intent(TopLevelActivity.this, Stores.class);
                        startActivity(goToStores);
                        break;
                }
            }

Intent allows one activity to move to another with the option to add values which will be passed on to the next activity

##Problem Do design an application with a menu having 3 elements with each element having their own "submenu" with three more elements and finally displaying the details of the inner three elements.

##Disclaimer This application is not an official app of Starbucks nor does it aim to be of any commercial value.

##Screenshots alt tag alt tag alt tag alt tag alt tag

starbuzzapp-kristoffrey's People

Contributors

kristoffrey avatar

Stargazers

Melvin Cabatuan avatar

Watchers

James Cloos avatar  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.