GithubHelp home page GithubHelp logo

adi-ia-code-challenge's Introduction

I updated the code and uploaded a video of the working app as working-app-video.mp4 in the root directory of this repo.

Here is a quick summary of the changes I made to the code:

  • Added the integer position of the item clicked as an extra to the intent being passed to PositionActivity
  • Called notifyDataSetChanged() on mAdapter after updating mStatesArray to be an empty array
  • Commented out the second, unnecessary text view in the list view item in both list_view_item.xml and in MainActivity
  • Added a constant in MainActivity to serve as the key for the position intent extra to avoid using a hardcoded key which could cause an error if updated in on place (MainActivity or PositionActivity) but not the other

Thanks,
Charlie

Android Development Instructional Support Code Challenge

Thanks for your interest in becoming an IA or TA for General Assembly's Android Development course! The following code challenge is designed to test your ability to troubleshoot and repair a broken Android app.

Technical Specs

We've provided you with some starter code in this repo. Go ahead and run this code in Android Studio. The code provided is broken in a few fundamental ways and will not run properly. Please fix the broken code to implement the following three features:

1. When opened, the app should display a list of abbreviations of U.S. states, as seen in the screenshot below: List of states

2. Clicking on a state abbreviation should take the user to a page that displays that state's position in the list: State view

3. Clicking the red "delete" button on the main screen should erase the entire list of abbreviations. Delete button

How to submit

  1. Clone this repo and begin working on your solution--please don't fork this repo, otherwise it will be easy for others to find your solution!
  2. Once you've successfully implemented the three features, take a video of the working app, demoing the three features. If you've never recorded a video using Android Studio, see this article for instructions.
  3. When you're all done, please submit both your video and a link to your code on GitHub to your producer or recruiter.

adi-ia-code-challenge's People

Contributors

mehan avatar charlesdrews avatar drew-mahrt 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.