Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim K m0nst3rdr1v3n

  • Michigan
View GitHub Profile
View entertainment_center.py
import media
import fresh_tomatoes
toy_story = media.Movie("Toy Story", "A story of a boy and his toys that come to life", "http://upload.wikimedia.org/wikipedia/en/1/13/Toy_Story.jpg", "https://www.youtube.com/watch?v=vwyZH85NQC4")
#print(toy_story.storyline)
avatar = media.Movie("Avatar", "A marine on an alien planet", "http://upload.wikimedia.org/wikipedia/id/b/b0/Avatar-Teaser-Poster.jpg", "http://www.youtube.com/watch?v=-9ceBgWV8io")
#avatar.show_trailer()
#print(avatar.storyline)
@m0nst3rdr1v3n
m0nst3rdr1v3n / ResultsAdapter.java
Created Oct 30, 2016
Result Adapter for Tour Guide App
View ResultsAdapter.java
public class ResultsAdapter extends ArrayAdapter<Results> {
/**
* Resource ID for the background color for this list of words
*/
private int mColorResourceId;
/**