Giter VIP home page Giter VIP logo

udacityprojectinventoryapp's Introduction

UdacityProjectInventoryApp

Here is an application for the Udacity Android Basics Inventory Project. This applications keeps track of their items/products in a list (RecyclerView).

PROJECT SPECIFICATION

User Interface - Layout

  • The app contains a list of current products and a button to add a new product.
  • Each list item displays the product name, current quantity, and price. Each list item also contains a Sale Button that reduces the quantity by one (include logic so that no negative quantities are displayed).
  • The Detail Layout for each item displays the remainder of the information stored in the database.
  • The Detail Layout contains buttons that increase and decrease the available quantity displayed.
  • The Detail Layout contains a button to order from the supplier.
  • The detail view contains a button to delete the product record entirely.
  • When there is no information to display in the database, the layout displays a TextView with instructions on how to populate the database.

Functionality

  • The code runs without errors. For example, when user inputs product information (quantity, price, name, image), instead of erroring out, the app includes logic to validate that no null values are accepted. If a null value is inputted, add a Toast that prompts the user to input the correct information before they can continue.
  • The listView populates with the current products stored in the table.
  • The Add product button prompts the user for information about the product and a picture, each of which are then properly stored in the table.
  • User input is validated. In particular, empty product information is not accepted. If user inputs product information (quantity, price, name, image), instead of erroring out, the app includes logic to validate that no null values are accepted. If a null value is inputted, add a Toast that prompts the user to input the correct information before they can continue.
  • In the activity that displays a list of all available inventory, each List Item contains a Sale Button which reduces the available quantity for that particular product by one (include logic so that no negative quantities are displayed).
  • Clicking on the rest of each list item sends the user to the detail screen for the correct product.
  • The Modify Quantity Buttons in the detail view properly increase and decrease the quantity available for the correct product.
  • The ‘order more’ button sends an intent to either a phone app or an email app to contact the supplier using the information stored in the database.
  • The delete button prompts the user for confirmation and, if confirmed, deletes the product record entirely and sends the user back to the main activity.

Screenshots

screenshot_1

screenshot_5

screenshot_3

screenshot_4

udacityprojectinventoryapp's People

Contributors

divitngoc avatar

Forkers

jmdev18

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.