├── .gitignore
├── LICENSE
├── Lesson 10 - Exhibit List
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ └── ExhibitsAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ └── Animal.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ └── EventBus.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ └── view_exhibit_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 11 - Exhibit Details
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ └── ExhibitsAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ └── Animal.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ └── EventBus.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_main.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ └── view_exhibit_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 12 - Gallery Data
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ └── ExhibitsAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ └── GalleryImage.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ └── GalleryApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_main.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ └── view_exhibit_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 13 - Gallery Grid
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ └── GalleryImage.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ └── GalleryApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 14 - Gallery Detail
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ ├── GalleryDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ └── GalleryImage.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ └── GalleryApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_gallery_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 15 - Google Maps API Key
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ ├── GalleryDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ └── GalleryImage.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ └── GalleryApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_gallery_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 16 - Maps Pin Data
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ ├── GalleryDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ ├── GalleryImage.java
│ │ │ └── Pin.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ ├── GalleryApiInterface.java
│ │ │ └── PinsApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_gallery_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 17 - Maps Features
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ ├── GalleryDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ ├── GalleryImage.java
│ │ │ └── Pin.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ ├── GalleryApiInterface.java
│ │ │ └── PinsApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_gallery_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 18 - Code Cleanup
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ ├── GalleryDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ ├── GalleryImage.java
│ │ │ └── Pin.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ ├── GalleryApiInterface.java
│ │ │ └── PinsApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_gallery_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 19 - Styling
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ ├── ExhibitDetailActivity.java
│ │ │ ├── GalleryDetailActivity.java
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── ExhibitsAdapter.java
│ │ │ └── GalleryImageAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ ├── Animal.java
│ │ │ ├── GalleryImage.java
│ │ │ └── Pin.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ ├── EventBus.java
│ │ │ ├── GalleryApiInterface.java
│ │ │ └── PinsApiInterface.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── drawable
│ │ └── navigation_list_selector.xml
│ │ ├── layout
│ │ ├── activity_exhibit_detail.xml
│ │ ├── activity_gallery_detail.xml
│ │ ├── activity_main.xml
│ │ ├── fragment_gallery_grid.xml
│ │ ├── navigation_drawer_list_item.xml
│ │ ├── view_exhibit_list_item.xml
│ │ └── view_gallery_thumbnail.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── colors.xml
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 3 - Hello World
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── helloworld
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── helloworld
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 4 - Toolbar
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 5 - Drawer Setup
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── layout
│ │ └── activity_main.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 6 - Populating the Drawer
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── DrawerNavigationListAdapter.java
│ │ │ ├── DrawerNavigationListView.java
│ │ │ └── MainActivity.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── navigation_drawer_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 7 - Otto
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ └── DrawerNavigationListAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── utils
│ │ │ └── EventBus.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── navigation_drawer_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 8 - Animal Object Creation
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ └── DrawerNavigationListAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ └── Animal.java
│ │ │ ├── utils
│ │ │ └── EventBus.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── navigation_drawer_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── Lesson 9 - Pulling Down Exhibit Data
├── .gitignore
├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ └── ApplicationTest.java
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── tutsplus
│ │ │ └── zoo
│ │ │ ├── activities
│ │ │ └── MainActivity.java
│ │ │ ├── adapters
│ │ │ └── DrawerNavigationListAdapter.java
│ │ │ ├── events
│ │ │ └── DrawerSectionItemClickedEvent.java
│ │ │ ├── fragments
│ │ │ ├── ExhibitsListFragment.java
│ │ │ ├── GalleryFragment.java
│ │ │ └── ZooMapFragment.java
│ │ │ ├── models
│ │ │ └── Animal.java
│ │ │ ├── utils
│ │ │ ├── AnimalApiInterface.java
│ │ │ └── EventBus.java
│ │ │ └── views
│ │ │ └── DrawerNavigationListView.java
│ │ └── res
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ └── navigation_drawer_list_item.xml
│ │ ├── menu
│ │ └── menu_main.xml
│ │ ├── mipmap-hdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-mdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xhdpi
│ │ └── ic_launcher.png
│ │ ├── mipmap-xxhdpi
│ │ └── ic_launcher.png
│ │ ├── values-w820dp
│ │ └── dimens.xml
│ │ └── values
│ │ ├── dimens.xml
│ │ ├── strings.xml
│ │ └── styles.xml
├── build.gradle
├── gradle.properties
├── gradle
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
├── gradlew
├── gradlew.bat
└── settings.gradle
├── README.md
├── data
├── exhibits.json
├── gallery.json
└── pins.json
└── images
├── exhibits
├── addax.jpg
├── dartfrog.jpg
├── elephant.jpg
├── galah.jpg
├── giraffe.jpg
├── rhino.jpg
├── thumbnail_addax.jpg
├── thumbnail_dartfrog.jpg
├── thumbnail_elephant.jpg
├── thumbnail_galah.jpg
├── thumbnail_giraffe.jpg
├── thumbnail_rhino.jpg
├── thumbnail_tiger.jpg
└── tiger.jpg
└── gallery
├── bison.jpg
├── blackfootedcat.jpg
├── blueduiker.jpg
├── bullelk.jpg
├── elephantseal.jpg
├── fennecfox.jpg
├── gazelle.jpg
├── graywolf.jpg
├── grizzly.jpg
├── hippo.jpg
├── ocelot.jpg
├── redlemur.jpg
├── thumbnail_bison.jpg
├── thumbnail_blackfootedcat.jpg
├── thumbnail_blueduiker.jpg
├── thumbnail_bullelk.jpg
├── thumbnail_elephantseal.jpg
├── thumbnail_fennecfox.jpg
├── thumbnail_gazelle.jpg
├── thumbnail_graywolf.jpg
├── thumbnail_grizzly.jpg
├── thumbnail_hippo.jpg
├── thumbnail_ocelot.jpg
└── thumbnail_redlemur.jpg
/.gitignore:
--------------------------------------------------------------------------------
1 | # built application files
2 | *.apk
3 | *.ap_
4 |
5 | # files for the dex VM
6 | *.dex
7 |
8 | # Java class files
9 | *.class
10 |
11 | # generated files
12 | bin/
13 | gen/
14 |
15 | # Local configuration file (sdk path, etc)
16 | local.properties
17 |
18 | # Eclipse project files
19 | .classpath
20 | .project
21 |
22 | # Proguard folder generated by Eclipse
23 | proguard/
24 |
25 | # Intellij project files
26 | *.iml
27 | *.ipr
28 | *.iws
29 | .idea/
30 | .DS_Store
31 | /build
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/java/com/tutsplus/zoo/fragments/GalleryFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.Fragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class GalleryFragment extends Fragment {
9 |
10 | public static GalleryFragment getInstance() {
11 | GalleryFragment fragment = new GalleryFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 10 - Exhibit List/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 10 - Exhibit List/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 10 - Exhibit List/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 10 - Exhibit List/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 10 - Exhibit List/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 10 - Exhibit List/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/java/com/tutsplus/zoo/fragments/GalleryFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.Fragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class GalleryFragment extends Fragment {
9 |
10 | public static GalleryFragment getInstance() {
11 | GalleryFragment fragment = new GalleryFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 11 - Exhibit Details/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 11 - Exhibit Details/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 11 - Exhibit Details/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 12 - Gallery Data/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 12 - Gallery Data/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 12 - Gallery Data/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 12 - Gallery Data/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 | https://gist.githubusercontent.com/PaulTR/dabbbd590c791a33f6e9/raw/deaf9ebbd69dedf5253ad02b09565138260fbe69
12 |
13 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 12 - Gallery Data/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 12 - Gallery Data/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 13 - Gallery Grid/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 | https://gist.githubusercontent.com/PaulTR/dabbbd590c791a33f6e9/raw/deaf9ebbd69dedf5253ad02b09565138260fbe69
12 |
13 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 13 - Gallery Grid/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 13 - Gallery Grid/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 14 - Gallery Detail/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 | https://gist.githubusercontent.com/PaulTR/dabbbd590c791a33f6e9/raw/deaf9ebbd69dedf5253ad02b09565138260fbe69
12 |
13 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 14 - Gallery Detail/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 14 - Gallery Detail/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 15 - Google Maps API Key/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 | https://gist.githubusercontent.com/PaulTR/dabbbd590c791a33f6e9/raw/deaf9ebbd69dedf5253ad02b09565138260fbe69
12 |
13 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 15 - Google Maps API Key/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 15 - Google Maps API Key/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/java/com/tutsplus/zoo/utils/PinsApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Pin;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 5/3/15.
12 | */
13 | public interface PinsApiInterface {
14 |
15 | @GET( "/Pins.json" )
16 | void getStreams( Callback> callback );
17 | }
18 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 16 - Maps Pin Data/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 | https://gist.githubusercontent.com/PaulTR/dabbbd590c791a33f6e9/raw/deaf9ebbd69dedf5253ad02b09565138260fbe69
12 | https://gist.githubusercontent.com/PaulTR/7b24b7659fe85e71dc17/raw/0fb06dc25b5f701a75a49539a02acfa9a43158bc
13 |
14 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 16 - Maps Pin Data/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 16 - Maps Pin Data/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/java/com/tutsplus/zoo/utils/PinsApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Pin;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 5/3/15.
12 | */
13 | public interface PinsApiInterface {
14 |
15 | @GET( "/Pins.json" )
16 | void getStreams( Callback> callback );
17 | }
18 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 17 - Maps Features/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 17 - Maps Features/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 17 - Maps Features/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 17 - Maps Features/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 | https://gist.githubusercontent.com/PaulTR/dabbbd590c791a33f6e9/raw/deaf9ebbd69dedf5253ad02b09565138260fbe69
12 | https://gist.githubusercontent.com/PaulTR/7b24b7659fe85e71dc17/raw/0fb06dc25b5f701a75a49539a02acfa9a43158bc
13 |
14 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 17 - Maps Features/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 17 - Maps Features/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/java/com/tutsplus/zoo/utils/PinsApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Pin;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 5/3/15.
12 | */
13 | public interface PinsApiInterface {
14 |
15 | @GET( "/Pins.json" )
16 | void getStreams( Callback> callback );
17 | }
18 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 18 - Code Cleanup/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 18 - Code Cleanup/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 18 - Code Cleanup/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | compile 'com.squareup.picasso:picasso:2.5.2'
29 |
30 | }
31 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/java/com/tutsplus/zoo/utils/GalleryApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.GalleryImage;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/29/15.
12 | */
13 | public interface GalleryApiInterface {
14 |
15 | @GET( "/gallery.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/java/com/tutsplus/zoo/utils/PinsApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Pin;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 5/3/15.
12 | */
13 | public interface PinsApiInterface {
14 |
15 | @GET( "/Pins.json" )
16 | void getStreams( Callback> callback );
17 | }
18 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/drawable/navigation_list_selector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/layout/fragment_gallery_grid.xml:
--------------------------------------------------------------------------------
1 |
2 |
12 |
13 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/layout/view_gallery_thumbnail.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 19 - Styling/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 19 - Styling/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 19 - Styling/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 19 - Styling/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #AA006400
4 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 19 - Styling/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 19 - Styling/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 19 - Styling/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.helloworld"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:22.0.0'
25 | }
26 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/androidTest/java/com/tutsplus/helloworld/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.helloworld;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
8 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 3 - Hello World/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 3 - Hello World/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 3 - Hello World/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 3 - Hello World/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Hello World
3 |
4 | Hello Everyone!
5 | Settings
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 3 - Hello World/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 3 - Hello World/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | }
26 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
15 |
16 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 4 - Toolbar/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 4 - Toolbar/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 4 - Toolbar/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 4 - Toolbar/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 4 - Toolbar/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 4 - Toolbar/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | }
26 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 5 - Drawer Setup/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 5 - Drawer Setup/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 5 - Drawer Setup/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | }
26 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 6 - Populating the Drawer/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 6 - Populating the Drawer/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 6 - Populating the Drawer/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | }
28 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/java/com/tutsplus/zoo/fragments/ExhibitsListFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.ListFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ExhibitsListFragment extends ListFragment {
9 |
10 | public static ExhibitsListFragment getInstance() {
11 | ExhibitsListFragment fragment = new ExhibitsListFragment();
12 | return fragment;
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/java/com/tutsplus/zoo/fragments/GalleryFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.Fragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class GalleryFragment extends Fragment {
9 |
10 | public static GalleryFragment getInstance() {
11 | GalleryFragment fragment = new GalleryFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 7 - Otto/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 7 - Otto/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 7 - Otto/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 7 - Otto/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 7 - Otto/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 7 - Otto/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 7 - Otto/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | }
28 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
10 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/java/com/tutsplus/zoo/fragments/ExhibitsListFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.ListFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ExhibitsListFragment extends ListFragment {
9 |
10 | public static ExhibitsListFragment getInstance() {
11 | ExhibitsListFragment fragment = new ExhibitsListFragment();
12 | return fragment;
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/java/com/tutsplus/zoo/fragments/GalleryFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.Fragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class GalleryFragment extends Fragment {
9 |
10 | public static GalleryFragment getInstance() {
11 | GalleryFragment fragment = new GalleryFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 8 - Animal Object Creation/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 8 - Animal Object Creation/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 8 - Animal Object Creation/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/.gitignore:
--------------------------------------------------------------------------------
1 | .gradle
2 | /local.properties
3 | /.idea/workspace.xml
4 | /.idea/libraries
5 | .DS_Store
6 | /build
7 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/build.gradle:
--------------------------------------------------------------------------------
1 | apply plugin: 'com.android.application'
2 |
3 | android {
4 | compileSdkVersion 21
5 | buildToolsVersion "21.1.2"
6 |
7 | defaultConfig {
8 | applicationId "com.tutsplus.zoo"
9 | minSdkVersion 14
10 | targetSdkVersion 21
11 | versionCode 1
12 | versionName "1.0"
13 | }
14 | buildTypes {
15 | release {
16 | minifyEnabled false
17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 | }
19 | }
20 | }
21 |
22 | dependencies {
23 | compile fileTree(dir: 'libs', include: ['*.jar'])
24 | compile 'com.android.support:appcompat-v7:21.0.3'
25 | compile 'com.squareup:otto:1.3.6'
26 | compile 'com.google.android.gms:play-services:6.5.87'
27 | compile 'com.squareup.retrofit:retrofit:1.9.0'
28 | }
29 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # By default, the flags in this file are appended to flags specified
3 | # in /Users/paulruiz/Library/Android/sdk/tools/proguard/proguard-android.txt
4 | # You can edit the include path and order by changing the proguardFiles
5 | # directive in build.gradle.
6 | #
7 | # For more details, see
8 | # http://developer.android.com/guide/developing/tools/proguard.html
9 |
10 | # Add any project specific keep options here:
11 |
12 | # If your project uses WebView with JS, uncomment the following
13 | # and specify the fully qualified class name to the JavaScript interface
14 | # class:
15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
16 | # public *;
17 | #}
18 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/androidTest/java/com/tutsplus/zoo/ApplicationTest.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo;
2 |
3 | import android.app.Application;
4 | import android.test.ApplicationTestCase;
5 |
6 | /**
7 | * Testing Fundamentals
8 | */
9 | public class ApplicationTest extends ApplicationTestCase {
10 | public ApplicationTest() {
11 | super(Application.class);
12 | }
13 | }
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
6 |
7 |
12 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/java/com/tutsplus/zoo/events/DrawerSectionItemClickedEvent.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.events;
2 |
3 | /**
4 | * Created by paulruiz on 4/8/15.
5 | */
6 | public class DrawerSectionItemClickedEvent {
7 |
8 | public String section;
9 |
10 | public DrawerSectionItemClickedEvent( String section ) {
11 | this.section = section;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/java/com/tutsplus/zoo/fragments/GalleryFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import android.support.v4.app.Fragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class GalleryFragment extends Fragment {
9 |
10 | public static GalleryFragment getInstance() {
11 | GalleryFragment fragment = new GalleryFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/java/com/tutsplus/zoo/fragments/ZooMapFragment.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.fragments;
2 |
3 | import com.google.android.gms.maps.SupportMapFragment;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class ZooMapFragment extends SupportMapFragment {
9 |
10 | public static ZooMapFragment getInstance() {
11 | ZooMapFragment fragment = new ZooMapFragment();
12 |
13 | return fragment;
14 | }
15 |
16 | }
17 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/java/com/tutsplus/zoo/utils/AnimalApiInterface.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.tutsplus.zoo.models.Animal;
4 |
5 | import java.util.List;
6 |
7 | import retrofit.Callback;
8 | import retrofit.http.GET;
9 |
10 | /**
11 | * Created by paulruiz on 4/14/15.
12 | */
13 | public interface AnimalApiInterface {
14 |
15 | @GET( "/Exhibits.json" )
16 | void getStreams( Callback> callback );
17 |
18 | }
19 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/java/com/tutsplus/zoo/utils/EventBus.java:
--------------------------------------------------------------------------------
1 | package com.tutsplus.zoo.utils;
2 |
3 | import com.squareup.otto.Bus;
4 |
5 | /**
6 | * Created by paulruiz on 4/8/15.
7 | */
8 | public class EventBus extends Bus {
9 | private static final EventBus bus = new EventBus();
10 |
11 | public static Bus getInstance() { return bus; }
12 |
13 | private EventBus() {}
14 | }
15 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/layout/navigation_drawer_list_item.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/menu/menu_main.xml:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/values-w820dp/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
5 | 64dp
6 |
7 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 16dp
5 |
6 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Zoo
3 |
4 | Hello world!
5 | Settings
6 |
7 | Select an Item
8 | Zoo
9 |
10 | https://gist.githubusercontent.com/PaulTR/504dd8815919921f8c07/raw/ae525d177a69209973e32c7e41ef3261292911b4
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 |
3 | buildscript {
4 | repositories {
5 | jcenter()
6 | }
7 | dependencies {
8 | classpath 'com.android.tools.build:gradle:1.1.0'
9 |
10 | // NOTE: Do not place your application dependencies here; they belong
11 | // in the individual module build.gradle files
12 | }
13 | }
14 |
15 | allprojects {
16 | repositories {
17 | jcenter()
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/Lesson 9 - Pulling Down Exhibit Data/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 10 15:27:10 PDT 2013
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip
7 |
--------------------------------------------------------------------------------
/Lesson 9 - Pulling Down Exhibit Data/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/data/pins.json:
--------------------------------------------------------------------------------
1 | [
2 | {
3 | "name": "Elephants",
4 | "latitude": 39.749157,
5 | "longitude": -104.953616
6 | },
7 | {
8 | "name": "Tigers",
9 | "latitude": 39.749817,
10 | "longitude": -104.949195
11 | },
12 | {
13 | "name": "Seals",
14 | "latitude": 39.748712,
15 | "longitude": -104.948616
16 | },
17 | {
18 | "name": "Gorillas",
19 | "latitude": 39.750444,
20 | "longitude": -104.954817
21 | }
22 | ]
--------------------------------------------------------------------------------
/images/exhibits/addax.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/addax.jpg
--------------------------------------------------------------------------------
/images/exhibits/dartfrog.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/dartfrog.jpg
--------------------------------------------------------------------------------
/images/exhibits/elephant.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/elephant.jpg
--------------------------------------------------------------------------------
/images/exhibits/galah.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/galah.jpg
--------------------------------------------------------------------------------
/images/exhibits/giraffe.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/giraffe.jpg
--------------------------------------------------------------------------------
/images/exhibits/rhino.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/rhino.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_addax.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_addax.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_dartfrog.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_dartfrog.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_elephant.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_elephant.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_galah.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_galah.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_giraffe.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_giraffe.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_rhino.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_rhino.jpg
--------------------------------------------------------------------------------
/images/exhibits/thumbnail_tiger.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/thumbnail_tiger.jpg
--------------------------------------------------------------------------------
/images/exhibits/tiger.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/exhibits/tiger.jpg
--------------------------------------------------------------------------------
/images/gallery/bison.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/bison.jpg
--------------------------------------------------------------------------------
/images/gallery/blackfootedcat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/blackfootedcat.jpg
--------------------------------------------------------------------------------
/images/gallery/blueduiker.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/blueduiker.jpg
--------------------------------------------------------------------------------
/images/gallery/bullelk.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/bullelk.jpg
--------------------------------------------------------------------------------
/images/gallery/elephantseal.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/elephantseal.jpg
--------------------------------------------------------------------------------
/images/gallery/fennecfox.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/fennecfox.jpg
--------------------------------------------------------------------------------
/images/gallery/gazelle.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/gazelle.jpg
--------------------------------------------------------------------------------
/images/gallery/graywolf.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/graywolf.jpg
--------------------------------------------------------------------------------
/images/gallery/grizzly.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/grizzly.jpg
--------------------------------------------------------------------------------
/images/gallery/hippo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/hippo.jpg
--------------------------------------------------------------------------------
/images/gallery/ocelot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/ocelot.jpg
--------------------------------------------------------------------------------
/images/gallery/redlemur.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/redlemur.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_bison.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_bison.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_blackfootedcat.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_blackfootedcat.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_blueduiker.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_blueduiker.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_bullelk.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_bullelk.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_elephantseal.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_elephantseal.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_fennecfox.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_fennecfox.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_gazelle.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_gazelle.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_graywolf.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_graywolf.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_grizzly.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_grizzly.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_hippo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_hippo.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_ocelot.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_ocelot.jpg
--------------------------------------------------------------------------------
/images/gallery/thumbnail_redlemur.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/tutsplus/getting-started-with-android/9e2fb5c54d9a4a3825a782e9a16e98c33e625ee6/images/gallery/thumbnail_redlemur.jpg
--------------------------------------------------------------------------------