├── .gitignore
├── 01-kotlin
└── 01-kotlin.md
├── 02-introduction-to-android
├── 02-introduction-to-android.md
└── dice-roller
│ ├── .gitignore
│ ├── app
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ ├── androidTest
│ │ └── java
│ │ │ └── org
│ │ │ └── example
│ │ │ └── diceroller
│ │ │ └── ExampleInstrumentedTest.kt
│ │ ├── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ │ └── org
│ │ │ │ └── example
│ │ │ │ └── diceroller
│ │ │ │ └── MainActivity.kt
│ │ └── res
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ ├── dice_1.xml
│ │ │ ├── dice_2.xml
│ │ │ ├── dice_3.xml
│ │ │ ├── dice_4.xml
│ │ │ ├── dice_5.xml
│ │ │ ├── dice_6.xml
│ │ │ ├── empty_dice.xml
│ │ │ └── ic_launcher_background.xml
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ └── test
│ │ └── java
│ │ └── org
│ │ └── example
│ │ └── diceroller
│ │ └── ExampleUnitTest.kt
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ ├── libs.versions.toml
│ └── wrapper
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── 03-layouts
├── 03-layouts.md
├── about-me
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── .idea
│ │ │ ├── caches
│ │ │ │ └── deviceStreaming.xml
│ │ │ ├── gradle.xml
│ │ │ ├── migrations.xml
│ │ │ ├── misc.xml
│ │ │ ├── runConfigurations.xml
│ │ │ └── workspace.xml
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── aboutme
│ │ │ │ └── ExampleInstrumentedTest.kt
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── aboutme
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ └── UserName.kt
│ │ │ └── res
│ │ │ │ ├── drawable-v24
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── drawable
│ │ │ │ └── ic_launcher_background.xml
│ │ │ │ ├── font
│ │ │ │ └── roboto.xml
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── font_certs.xml
│ │ │ │ ├── preloaded_fonts.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── aboutme
│ │ │ └── ExampleUnitTest.kt
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── color-views.png
├── color-views
│ ├── .gitignore
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── colormyviews
│ │ │ │ └── ExampleInstrumentedTest.kt
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── colormyviews
│ │ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ │ ├── drawable-v24
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── drawable
│ │ │ │ └── ic_launcher_background.xml
│ │ │ │ ├── font
│ │ │ │ ├── roboto.xml
│ │ │ │ └── roboto_thin.xml
│ │ │ │ ├── layout
│ │ │ │ └── activity_main.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_launcher.xml
│ │ │ │ └── ic_launcher_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_launcher.png
│ │ │ │ └── ic_launcher_round.png
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── dimens.xml
│ │ │ │ ├── font_certs.xml
│ │ │ │ ├── preloaded_fonts.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── colormyviews
│ │ │ └── ExampleUnitTest.kt
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── layout-editor.png
├── 04-navigation
├── 04-navigation.md
├── fragments.png
├── trivia-finish-code
│ ├── .gitignore
│ ├── .idea
│ │ ├── appInsightsSettings.xml
│ │ ├── deploymentTargetDropDown.xml
│ │ ├── deploymentTargetSelector.xml
│ │ ├── jarRepositories.xml
│ │ ├── kotlinc.xml
│ │ ├── migrations.xml
│ │ └── navEditor.xml
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── navigation
│ │ │ │ ├── AboutFragment.kt
│ │ │ │ ├── GameFragment.kt
│ │ │ │ ├── GameOverFragment.kt
│ │ │ │ ├── GameWonFragment.kt
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── RulesFragment.kt
│ │ │ │ └── TitleFragment.kt
│ │ │ └── res
│ │ │ ├── anim
│ │ │ ├── fade_in.xml
│ │ │ ├── fade_out.xml
│ │ │ ├── slide_in_left.xml
│ │ │ ├── slide_in_right.xml
│ │ │ ├── slide_out_left.xml
│ │ │ └── slide_out_right.xml
│ │ │ ├── drawable-v24
│ │ │ └── ic_launcher_foreground.xml
│ │ │ ├── drawable
│ │ │ ├── about_android_trivia.xml
│ │ │ ├── android.xml
│ │ │ ├── android_category_simple.xml
│ │ │ ├── android_trivia.xml
│ │ │ ├── ic_launcher_background.xml
│ │ │ ├── nav_header.xml
│ │ │ ├── rules.xml
│ │ │ ├── settings.xml
│ │ │ ├── share.xml
│ │ │ ├── trivia_rules.xml
│ │ │ ├── try_again.xml
│ │ │ └── you_win.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── fragment_about.xml
│ │ │ ├── fragment_game.xml
│ │ │ ├── fragment_game_over.xml
│ │ │ ├── fragment_game_won.xml
│ │ │ ├── fragment_rules.xml
│ │ │ ├── fragment_title.xml
│ │ │ └── nav_header.xml
│ │ │ ├── menu
│ │ │ ├── navdrawer_menu.xml
│ │ │ ├── overflow_menu.xml
│ │ │ └── winner_menu.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ └── ic_launcher_round.png
│ │ │ ├── navigation
│ │ │ └── navigation.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
└── trivia-starter-code
│ ├── .gitignore
│ ├── .idea
│ ├── appInsightsSettings.xml
│ ├── deploymentTargetDropDown.xml
│ ├── deploymentTargetSelector.xml
│ ├── jarRepositories.xml
│ ├── kotlinc.xml
│ └── migrations.xml
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src
│ │ └── main
│ │ ├── AndroidManifest.xml
│ │ ├── java
│ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── navigation
│ │ │ ├── AboutFragment.kt
│ │ │ ├── GameFragment.kt
│ │ │ ├── GameOverFragment.kt
│ │ │ ├── GameWonFragment.kt
│ │ │ ├── MainActivity.kt
│ │ │ └── RulesFragment.kt
│ │ └── res
│ │ ├── drawable-v24
│ │ └── ic_launcher_foreground.xml
│ │ ├── drawable
│ │ ├── about_android_trivia.xml
│ │ ├── android.xml
│ │ ├── android_category_simple.xml
│ │ ├── android_trivia.xml
│ │ ├── ic_launcher_background.xml
│ │ ├── nav_header.xml
│ │ ├── rules.xml
│ │ ├── settings.xml
│ │ ├── share.xml
│ │ ├── trivia_rules.xml
│ │ ├── try_again.xml
│ │ └── you_win.xml
│ │ ├── layout
│ │ ├── activity_main.xml
│ │ ├── fragment_about.xml
│ │ ├── fragment_game.xml
│ │ ├── fragment_game_over.xml
│ │ ├── fragment_game_won.xml
│ │ ├── fragment_rules.xml
│ │ ├── fragment_title.xml
│ │ └── nav_header.xml
│ │ ├── menu
│ │ └── winner_menu.xml
│ │ ├── mipmap-anydpi-v26
│ │ ├── ic_launcher.xml
│ │ └── ic_launcher_round.xml
│ │ ├── mipmap-hdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-mdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ ├── mipmap-xxxhdpi
│ │ ├── ic_launcher.png
│ │ └── ic_launcher_round.png
│ │ └── 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
├── 05-lifecycle
├── 05-lifecycle.md
├── activity-lifecycle.png
├── dessert-pusher-finish-code
│ ├── .gitignore
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_dessert_pusher-web.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── dessertpusher
│ │ │ │ ├── DessertTimer.kt
│ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ ├── drawable
│ │ │ ├── bakery_back.xml
│ │ │ ├── cupcake.xml
│ │ │ ├── donut.xml
│ │ │ ├── eclair.xml
│ │ │ ├── froyo.xml
│ │ │ ├── gingerbread.xml
│ │ │ ├── honeycomb.xml
│ │ │ ├── ic_launcher_foreground.xml
│ │ │ ├── icecreamsandwich.xml
│ │ │ ├── jellybean.xml
│ │ │ ├── kitkat.xml
│ │ │ ├── lollipop.xml
│ │ │ ├── marshmallow.xml
│ │ │ ├── nougat.xml
│ │ │ ├── oreo.xml
│ │ │ └── white_box.xml
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── menu
│ │ │ └── main_menu.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_dessert_pusher.xml
│ │ │ └── ic_dessert_pusher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── ic_launcher_background.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── dessert-pusher-starter-code
│ ├── .gitignore
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_dessert_pusher-web.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── dessertpusher
│ │ │ │ ├── DessertTimer.kt
│ │ │ │ └── MainActivity.kt
│ │ │ └── res
│ │ │ ├── drawable
│ │ │ ├── bakery_back.xml
│ │ │ ├── cupcake.xml
│ │ │ ├── donut.xml
│ │ │ ├── eclair.xml
│ │ │ ├── froyo.xml
│ │ │ ├── gingerbread.xml
│ │ │ ├── honeycomb.xml
│ │ │ ├── ic_launcher_foreground.xml
│ │ │ ├── icecreamsandwich.xml
│ │ │ ├── jellybean.xml
│ │ │ ├── kitkat.xml
│ │ │ ├── lollipop.xml
│ │ │ ├── marshmallow.xml
│ │ │ ├── nougat.xml
│ │ │ ├── oreo.xml
│ │ │ └── white_box.xml
│ │ │ ├── layout
│ │ │ └── activity_main.xml
│ │ │ ├── menu
│ │ │ └── main_menu.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_dessert_pusher.xml
│ │ │ └── ic_dessert_pusher_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_dessert_pusher.png
│ │ │ └── ic_dessert_pusher_round.png
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── ic_launcher_background.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── fragment-lifecycle.png
├── 06-app-architecture-ui
├── 06-app-architecture-ui.md
├── guess-it-finish-code
│ ├── .gitignore
│ ├── .idea
│ │ └── navEditor.xml
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── guesstheword
│ │ │ │ └── ExampleInstrumentedTest.kt
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_guess_it-web.png
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── android
│ │ │ │ │ └── guesstheword
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ └── screens
│ │ │ │ │ ├── game
│ │ │ │ │ ├── GameFragment.kt
│ │ │ │ │ └── GameViewModel.kt
│ │ │ │ │ ├── score
│ │ │ │ │ ├── ScoreFragment.kt
│ │ │ │ │ ├── ScoreViewModel.kt
│ │ │ │ │ └── ScoreViewModelFactory.kt
│ │ │ │ │ └── title
│ │ │ │ │ └── TitleFragment.kt
│ │ │ └── res
│ │ │ │ ├── anim
│ │ │ │ ├── slide_in_right.xml
│ │ │ │ └── slide_out_left.xml
│ │ │ │ ├── drawable
│ │ │ │ ├── ic_launcher_background.xml
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── layout
│ │ │ │ ├── game_fragment.xml
│ │ │ │ ├── main_activity.xml
│ │ │ │ ├── score_fragment.xml
│ │ │ │ └── title_fragment.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_guess_it.xml
│ │ │ │ └── ic_guess_it_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── navigation
│ │ │ │ └── main_navigation.xml
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── guesstheword
│ │ │ └── ExampleUnitTest.kt
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
├── guess-it-mvvm.png
├── guess-it-starter-code
│ ├── .gitignore
│ ├── .idea
│ │ └── navEditor.xml
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── guesstheword
│ │ │ │ └── ExampleInstrumentedTest.kt
│ │ │ ├── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_guess_it-web.png
│ │ │ ├── java
│ │ │ │ └── com
│ │ │ │ │ └── example
│ │ │ │ │ └── android
│ │ │ │ │ └── guesstheword
│ │ │ │ │ ├── MainActivity.kt
│ │ │ │ │ └── screens
│ │ │ │ │ ├── game
│ │ │ │ │ └── GameFragment.kt
│ │ │ │ │ ├── score
│ │ │ │ │ └── ScoreFragment.kt
│ │ │ │ │ └── title
│ │ │ │ │ └── TitleFragment.kt
│ │ │ └── res
│ │ │ │ ├── anim
│ │ │ │ ├── slide_in_right.xml
│ │ │ │ └── slide_out_left.xml
│ │ │ │ ├── drawable
│ │ │ │ ├── ic_launcher_background.xml
│ │ │ │ └── ic_launcher_foreground.xml
│ │ │ │ ├── layout
│ │ │ │ ├── game_fragment.xml
│ │ │ │ ├── main_activity.xml
│ │ │ │ ├── score_fragment.xml
│ │ │ │ └── title_fragment.xml
│ │ │ │ ├── mipmap-anydpi-v26
│ │ │ │ ├── ic_guess_it.xml
│ │ │ │ └── ic_guess_it_round.xml
│ │ │ │ ├── mipmap-hdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-mdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-xhdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ ├── ic_guess_it.png
│ │ │ │ └── ic_guess_it_round.png
│ │ │ │ ├── navigation
│ │ │ │ └── main_navigation.xml
│ │ │ │ └── values
│ │ │ │ ├── colors.xml
│ │ │ │ ├── strings.xml
│ │ │ │ └── styles.xml
│ │ │ └── test
│ │ │ └── java
│ │ │ └── com
│ │ │ └── example
│ │ │ └── android
│ │ │ └── guesstheword
│ │ │ └── ExampleUnitTest.kt
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── livedata.png
├── 07-app-architectrure-persistance
├── 07-app-architectrure-persistance.md
├── android-threads.png
├── coroutines-suspend.png
├── mvvm-with-database.png
├── mvvm-with-room.png
├── sleep-tracker-finish-code
│ ├── .gitignore
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ └── SleepDatabaseTest.kt
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_launcher_sleep_tracker-web.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── Util.kt
│ │ │ │ ├── database
│ │ │ │ ├── SleepDatabase.kt
│ │ │ │ ├── SleepDatabaseDao.kt
│ │ │ │ └── SleepNight.kt
│ │ │ │ ├── sleepquality
│ │ │ │ ├── SleepQualityFragment.kt
│ │ │ │ ├── SleepQualityViewModel.kt
│ │ │ │ └── SleepQualityViewModelFactory.kt
│ │ │ │ └── sleeptracker
│ │ │ │ ├── SleepTrackerFragment.kt
│ │ │ │ ├── SleepTrackerViewModel.kt
│ │ │ │ └── SleepTrackerViewModelFactory.kt
│ │ │ └── res
│ │ │ ├── anim
│ │ │ └── slide_in_right.xml
│ │ │ ├── drawable
│ │ │ ├── ic_launcher_sleep_tracker_background.xml
│ │ │ ├── ic_launcher_sleep_tracker_foreground.xml
│ │ │ ├── ic_sleep_0.xml
│ │ │ ├── ic_sleep_1.xml
│ │ │ ├── ic_sleep_2.xml
│ │ │ ├── ic_sleep_3.xml
│ │ │ ├── ic_sleep_4.xml
│ │ │ └── ic_sleep_5.xml
│ │ │ ├── font
│ │ │ └── roboto.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── fragment_sleep_quality.xml
│ │ │ └── fragment_sleep_tracker.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ ├── ic_launcher_round.xml
│ │ │ ├── ic_launcher_sleep_tracker.xml
│ │ │ └── ic_launcher_sleep_tracker_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── navigation
│ │ │ └── navigation.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── font_certs.xml
│ │ │ ├── preloaded_fonts.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── screenshots
│ │ ├── sleep_quality_tracker_quality.png
│ │ ├── sleep_quality_tracker_start.png
│ │ └── sleep_quality_tracker_stop.png
│ └── settings.gradle
├── sleep-tracker-starter-code
│ ├── .gitignore
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ └── SleepDatabaseTest.kt
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_launcher_sleep_tracker-web.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── Util.kt
│ │ │ │ ├── database
│ │ │ │ ├── SleepDatabase.kt
│ │ │ │ ├── SleepDatabaseDao.kt
│ │ │ │ └── SleepNight.kt
│ │ │ │ ├── sleepquality
│ │ │ │ ├── SleepQualityFragment.kt
│ │ │ │ ├── SleepQualityViewModel.kt
│ │ │ │ └── SleepQualityViewModelFactory.kt
│ │ │ │ └── sleeptracker
│ │ │ │ ├── SleepTrackerFragment.kt
│ │ │ │ ├── SleepTrackerViewModel.kt
│ │ │ │ └── SleepTrackerViewModelFactory.kt
│ │ │ └── res
│ │ │ ├── anim
│ │ │ └── slide_in_right.xml
│ │ │ ├── drawable
│ │ │ ├── ic_launcher_sleep_tracker_background.xml
│ │ │ ├── ic_launcher_sleep_tracker_foreground.xml
│ │ │ ├── ic_sleep_0.xml
│ │ │ ├── ic_sleep_1.xml
│ │ │ ├── ic_sleep_2.xml
│ │ │ ├── ic_sleep_3.xml
│ │ │ ├── ic_sleep_4.xml
│ │ │ └── ic_sleep_5.xml
│ │ │ ├── font
│ │ │ └── roboto.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── fragment_sleep_quality.xml
│ │ │ └── fragment_sleep_tracker.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ ├── ic_launcher_round.xml
│ │ │ ├── ic_launcher_sleep_tracker.xml
│ │ │ └── ic_launcher_sleep_tracker_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── navigation
│ │ │ └── navigation.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── font_certs.xml
│ │ │ ├── preloaded_fonts.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ └── settings.gradle
└── sleep-tracker.png
├── 08-recyclerview
├── 08-recyclerview.md
├── adapter-pattern.png
├── list_item_sleep_night.png
├── sleep-tracker-finish-code
│ ├── .gitignore
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ └── SleepDatabaseTest.kt
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_launcher_sleep_tracker-web.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── Util.kt
│ │ │ │ ├── database
│ │ │ │ ├── SleepDatabase.kt
│ │ │ │ ├── SleepDatabaseDao.kt
│ │ │ │ └── SleepNight.kt
│ │ │ │ ├── sleepquality
│ │ │ │ ├── SleepQualityFragment.kt
│ │ │ │ ├── SleepQualityViewModel.kt
│ │ │ │ └── SleepQualityViewModelFactory.kt
│ │ │ │ └── sleeptracker
│ │ │ │ ├── SleepNightAdapter.kt
│ │ │ │ ├── SleepTrackerFragment.kt
│ │ │ │ ├── SleepTrackerViewModel.kt
│ │ │ │ └── SleepTrackerViewModelFactory.kt
│ │ │ └── res
│ │ │ ├── anim
│ │ │ └── slide_in_right.xml
│ │ │ ├── drawable
│ │ │ ├── ic_launcher_sleep_tracker_background.xml
│ │ │ ├── ic_launcher_sleep_tracker_foreground.xml
│ │ │ ├── ic_sleep_0.xml
│ │ │ ├── ic_sleep_1.xml
│ │ │ ├── ic_sleep_2.xml
│ │ │ ├── ic_sleep_3.xml
│ │ │ ├── ic_sleep_4.xml
│ │ │ ├── ic_sleep_5.xml
│ │ │ └── ic_sleep_active.xml
│ │ │ ├── font
│ │ │ └── roboto.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── fragment_sleep_quality.xml
│ │ │ ├── fragment_sleep_tracker.xml
│ │ │ ├── list_item_sleep_night.xml
│ │ │ └── text_item_view.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ ├── ic_launcher_round.xml
│ │ │ ├── ic_launcher_sleep_tracker.xml
│ │ │ └── ic_launcher_sleep_tracker_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── navigation
│ │ │ └── navigation.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── font_certs.xml
│ │ │ ├── preloaded_fonts.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── screenshots
│ │ ├── sleep_quality_tracker_quality.png
│ │ ├── sleep_quality_tracker_start.png
│ │ └── sleep_quality_tracker_stop.png
│ └── settings.gradle
├── sleep-tracker-starter-code
│ ├── .gitignore
│ ├── LICENSE.txt
│ ├── README.md
│ ├── app
│ │ ├── .gitignore
│ │ ├── build.gradle
│ │ ├── proguard-rules.pro
│ │ └── src
│ │ │ ├── androidTest
│ │ │ └── java
│ │ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ └── SleepDatabaseTest.kt
│ │ │ └── main
│ │ │ ├── AndroidManifest.xml
│ │ │ ├── ic_launcher_sleep_tracker-web.png
│ │ │ ├── java
│ │ │ └── com
│ │ │ │ └── example
│ │ │ │ └── android
│ │ │ │ └── trackmysleepquality
│ │ │ │ ├── MainActivity.kt
│ │ │ │ ├── Util.kt
│ │ │ │ ├── database
│ │ │ │ ├── SleepDatabase.kt
│ │ │ │ ├── SleepDatabaseDao.kt
│ │ │ │ └── SleepNight.kt
│ │ │ │ ├── sleepquality
│ │ │ │ ├── SleepQualityFragment.kt
│ │ │ │ ├── SleepQualityViewModel.kt
│ │ │ │ └── SleepQualityViewModelFactory.kt
│ │ │ │ └── sleeptracker
│ │ │ │ ├── SleepTrackerFragment.kt
│ │ │ │ ├── SleepTrackerViewModel.kt
│ │ │ │ └── SleepTrackerViewModelFactory.kt
│ │ │ └── res
│ │ │ ├── anim
│ │ │ └── slide_in_right.xml
│ │ │ ├── drawable
│ │ │ ├── ic_launcher_sleep_tracker_background.xml
│ │ │ ├── ic_launcher_sleep_tracker_foreground.xml
│ │ │ ├── ic_sleep_0.xml
│ │ │ ├── ic_sleep_1.xml
│ │ │ ├── ic_sleep_2.xml
│ │ │ ├── ic_sleep_3.xml
│ │ │ ├── ic_sleep_4.xml
│ │ │ └── ic_sleep_5.xml
│ │ │ ├── font
│ │ │ └── roboto.xml
│ │ │ ├── layout
│ │ │ ├── activity_main.xml
│ │ │ ├── fragment_sleep_quality.xml
│ │ │ └── fragment_sleep_tracker.xml
│ │ │ ├── mipmap-anydpi-v26
│ │ │ ├── ic_launcher.xml
│ │ │ ├── ic_launcher_round.xml
│ │ │ ├── ic_launcher_sleep_tracker.xml
│ │ │ └── ic_launcher_sleep_tracker_round.xml
│ │ │ ├── mipmap-hdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-mdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── mipmap-xxxhdpi
│ │ │ ├── ic_launcher.png
│ │ │ ├── ic_launcher_round.png
│ │ │ ├── ic_launcher_sleep_tracker.png
│ │ │ └── ic_launcher_sleep_tracker_round.png
│ │ │ ├── navigation
│ │ │ └── navigation.xml
│ │ │ └── values
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── font_certs.xml
│ │ │ ├── preloaded_fonts.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ ├── build.gradle
│ ├── gradle.properties
│ ├── gradle
│ │ └── wrapper
│ │ │ ├── gradle-wrapper.jar
│ │ │ └── gradle-wrapper.properties
│ ├── gradlew
│ ├── gradlew.bat
│ ├── screenshots
│ │ ├── sleep_quality_tracker_quality.png
│ │ ├── sleep_quality_tracker_start.png
│ │ └── sleep_quality_tracker_stop.png
│ └── settings.gradle
└── sleep-tracker-with-recyclerview.png
├── README.md
├── requirements.md
└── tasks.md
/02-introduction-to-android/dice-roller/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | .cxx
10 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/androidTest/java/org/example/diceroller/ExampleInstrumentedTest.kt:
--------------------------------------------------------------------------------
1 | package org.example.diceroller
2 |
3 | import androidx.test.platform.app.InstrumentationRegistry
4 | import androidx.test.ext.junit.runners.AndroidJUnit4
5 |
6 | import org.junit.Test
7 | import org.junit.runner.RunWith
8 |
9 | import org.junit.Assert.*
10 |
11 | /**
12 | * Instrumented test, which will execute on an Android device.
13 | *
14 | * See [testing documentation](http://d.android.com/tools/testing).
15 | */
16 | @RunWith(AndroidJUnit4::class)
17 | class ExampleInstrumentedTest {
18 | @Test
19 | fun useAppContext() {
20 | // Context of the app under test.
21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 | assertEquals("org.example.diceroller", appContext.packageName)
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
13 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/drawable/empty_dice.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
22 |
23 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/layout/activity_main.xml:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
18 |
19 |
25 |
26 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #008577
4 | #00574B
5 | #D81B60
6 |
7 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | Dice Roller
3 | Roll
4 |
5 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/app/src/test/java/org/example/diceroller/ExampleUnitTest.kt:
--------------------------------------------------------------------------------
1 | package org.example.diceroller
2 |
3 | import org.junit.Test
4 |
5 | import org.junit.Assert.*
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * See [testing documentation](http://d.android.com/tools/testing).
11 | */
12 | class ExampleUnitTest {
13 | @Test
14 | fun addition_isCorrect() {
15 | assertEquals(4, 2 + 2)
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/build.gradle:
--------------------------------------------------------------------------------
1 | // Top-level build file where you can add configuration options common to all sub-projects/modules.
2 | plugins {
3 | alias(libs.plugins.android.application) apply false
4 | alias(libs.plugins.kotlin.android) apply false
5 | }
6 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/02-introduction-to-android/dice-roller/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Jan 10 18:20:52 MSK 2021
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/02-introduction-to-android/dice-roller/settings.gradle:
--------------------------------------------------------------------------------
1 | pluginManagement {
2 | repositories {
3 | google()
4 | mavenCentral()
5 | gradlePluginPortal()
6 | }
7 | }
8 | dependencyResolutionManagement {
9 | repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
10 | repositories {
11 | google()
12 | mavenCentral()
13 | }
14 | }
15 |
16 | include ':app'
17 | rootProject.name='Dice Roller'
18 |
--------------------------------------------------------------------------------
/03-layouts/about-me/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | .cxx
10 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/.idea/gradle.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
12 |
13 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/.idea/migrations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/.idea/misc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/.idea/runConfigurations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/androidTest/java/com/example/aboutme/ExampleInstrumentedTest.kt:
--------------------------------------------------------------------------------
1 | package com.example.aboutme
2 |
3 | import androidx.test.platform.app.InstrumentationRegistry
4 | import androidx.test.ext.junit.runners.AndroidJUnit4
5 |
6 | import org.junit.Test
7 | import org.junit.runner.RunWith
8 |
9 | import org.junit.Assert.*
10 |
11 | /**
12 | * Instrumented test, which will execute on an Android device.
13 | *
14 | * See [testing documentation](http://d.android.com/tools/testing).
15 | */
16 | @RunWith(AndroidJUnit4::class)
17 | class ExampleInstrumentedTest {
18 | @Test
19 | fun useAppContext() {
20 | // Context of the app under test.
21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 | assertEquals("com.example.aboutme", appContext.packageName)
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/java/com/example/aboutme/UserName.kt:
--------------------------------------------------------------------------------
1 | package com.example.aboutme
2 |
3 | data class UserName (
4 | var name: String = "",
5 | var nickname: String = "")
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/font/roboto.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #008577
4 | #00574B
5 | #76bf5e
6 |
7 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 20sp
4 | 8dp
5 | 16dp
6 | 16dp
7 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - @font/roboto
5 |
6 |
7 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | About Me
3 | Steve Jobs
4 | Yellow star
5 | Steven Paul Jobs was an American business magnate, industrial designer, investor, and media proprietor.
6 | \n\nHe was the chairman, chief executive officer (CEO), and co-founder of Apple Inc., the chairman and majority shareholder of Pixar.
7 | \n\nJobs is widely recognized as a pioneer of the personal computer revolution of the 1970s and 1980s, along with Apple co-founder Steve Wozniak.
8 | \n\nJobs was born in San Francisco, California, and put up for adoption. He was raised in the San Francisco Bay Area. He attended Reed College in 1972 before dropping out that same year, and traveled through India in 1974 seeking enlightenment and studying Zen Buddhism.
9 |
10 | What is your nickname?
11 | Done
12 |
13 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/03-layouts/about-me/app/src/test/java/com/example/aboutme/ExampleUnitTest.kt:
--------------------------------------------------------------------------------
1 | package com.example.aboutme
2 |
3 | import org.junit.Test
4 |
5 | import org.junit.Assert.*
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * See [testing documentation](http://d.android.com/tools/testing).
11 | */
12 | class ExampleUnitTest {
13 | @Test
14 | fun addition_isCorrect() {
15 | assertEquals(4, 2 + 2)
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/03-layouts/about-me/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 | google()
6 | mavenCentral()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:8.8.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22"
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | google()
19 | mavenCentral()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/03-layouts/about-me/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/about-me/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/03-layouts/about-me/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Jan 28 18:46:52 MSK 2024
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
5 | zipStoreBase=GRADLE_USER_HOME
6 | zipStorePath=wrapper/dists
7 |
--------------------------------------------------------------------------------
/03-layouts/about-me/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 | rootProject.name='About Me'
3 |
--------------------------------------------------------------------------------
/03-layouts/color-views.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views.png
--------------------------------------------------------------------------------
/03-layouts/color-views/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | .cxx
10 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/androidTest/java/com/example/colormyviews/ExampleInstrumentedTest.kt:
--------------------------------------------------------------------------------
1 | package com.example.colormyviews
2 |
3 | import androidx.test.platform.app.InstrumentationRegistry
4 | import androidx.test.ext.junit.runners.AndroidJUnit4
5 |
6 | import org.junit.Test
7 | import org.junit.runner.RunWith
8 |
9 | import org.junit.Assert.*
10 |
11 | /**
12 | * Instrumented test, which will execute on an Android device.
13 | *
14 | * See [testing documentation](http://d.android.com/tools/testing).
15 | */
16 | @RunWith(AndroidJUnit4::class)
17 | class ExampleInstrumentedTest {
18 | @Test
19 | fun useAppContext() {
20 | // Context of the app under test.
21 | val appContext = InstrumentationRegistry.getInstrumentation().targetContext
22 | assertEquals("com.example.colormyviews", appContext.packageName)
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/java/com/example/colormyviews/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.colormyviews
2 |
3 | import androidx.appcompat.app.AppCompatActivity
4 | import android.os.Bundle
5 |
6 | class MainActivity : AppCompatActivity() {
7 |
8 | override fun onCreate(savedInstanceState: Bundle?) {
9 | super.onCreate(savedInstanceState)
10 | setContentView(R.layout.activity_main)
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/font/roboto.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/font/roboto_thin.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #008577
4 | #00574B
5 | #D81B60
6 |
7 |
8 | #12C700
9 | #E54304
10 | #FFC107
11 |
12 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 16dp
4 | 8dp
5 | 24sp
6 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | - @font/roboto
5 | - @font/roboto_thin
6 |
7 |
8 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 |
2 | ColorMyViews
3 | Box One
4 | Box Two
5 | Box Three
6 | Box Four
7 | Box Five
8 | Box Seven
9 | Box Six
10 |
11 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
10 |
11 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/03-layouts/color-views/app/src/test/java/com/example/colormyviews/ExampleUnitTest.kt:
--------------------------------------------------------------------------------
1 | package com.example.colormyviews
2 |
3 | import org.junit.Test
4 |
5 | import org.junit.Assert.*
6 |
7 | /**
8 | * Example local unit test, which will execute on the development machine (host).
9 | *
10 | * See [testing documentation](http://d.android.com/tools/testing).
11 | */
12 | class ExampleUnitTest {
13 | @Test
14 | fun addition_isCorrect() {
15 | assertEquals(4, 2 + 2)
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/03-layouts/color-views/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 | google()
6 | mavenCentral()
7 | }
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:8.8.0'
10 | classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22'
11 | // NOTE: Do not place your application dependencies here; they belong
12 | // in the individual module build.gradle files
13 | }
14 | }
15 |
16 | allprojects {
17 | repositories {
18 | google()
19 | mavenCentral()
20 | }
21 | }
22 |
23 | task clean(type: Delete) {
24 | delete rootProject.buildDir
25 | }
26 |
--------------------------------------------------------------------------------
/03-layouts/color-views/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/color-views/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/03-layouts/color-views/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sun Jan 10 19:11:34 MSK 2021
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/03-layouts/color-views/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 | rootProject.name='color-views'
3 |
--------------------------------------------------------------------------------
/03-layouts/layout-editor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/03-layouts/layout-editor.png
--------------------------------------------------------------------------------
/04-navigation/fragments.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/fragments.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/codeStyles
6 | /.idea/compiler.xml
7 | /.idea/copyright
8 | /.idea/encodings.xml
9 | /.idea/gradle.xml
10 | /.idea/libraries
11 | /.idea/misc.xml
12 | /.idea/modules.xml
13 | /.idea/workspace.xml
14 | /.idea/runConfigurations.xml
15 | /.idea/vcs.xml
16 | /.idea/workspace.xml
17 | /.idea/assetWizardSettings.xml
18 | .DS_Store
19 | /build
20 | /captures
21 | .externalNativeBuild
22 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/.idea/appInsightsSettings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/.idea/deploymentTargetDropDown.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/.idea/deploymentTargetSelector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/.idea/kotlinc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/.idea/migrations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/README.md:
--------------------------------------------------------------------------------
1 | # Trivia Example Android App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/7466f670-3d47-4b60-8f6a-0914ce58f9ad/concepts/9bfc90da-6173-4825-ab64-3d94b92df26c
4 |
5 | Финальный код приложения, получающийся в ходе прохождения урока по навигации в Android.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-android-trivia
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/anim/fade_in.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/anim/fade_out.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
22 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/anim/slide_in_left.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
26 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/anim/slide_out_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/menu/overflow_menu.xml:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-finish-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Thu Feb 06 23:39:51 MSK 2020
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | android.databinding.enableV2=true
6 | zipStorePath=wrapper/dists
7 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
8 |
--------------------------------------------------------------------------------
/04-navigation/trivia-finish-code/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/caches
5 | /.idea/codeStyles
6 | /.idea/compiler.xml
7 | /.idea/copyright
8 | /.idea/encodings.xml
9 | /.idea/gradle.xml
10 | /.idea/libraries
11 | /.idea/misc.xml
12 | /.idea/modules.xml
13 | /.idea/workspace.xml
14 | /.idea/runConfigurations.xml
15 | /.idea/vcs.xml
16 | /.idea/workspace.xml
17 | /.idea/assetWizardSettings.xml
18 | .DS_Store
19 | /build
20 | /captures
21 | .externalNativeBuild
22 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/.idea/appInsightsSettings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/.idea/deploymentTargetDropDown.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/.idea/deploymentTargetSelector.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/.idea/kotlinc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/.idea/migrations.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/README.md:
--------------------------------------------------------------------------------
1 | # Trivia Example Android App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/7466f670-3d47-4b60-8f6a-0914ce58f9ad/concepts/9bfc90da-6173-4825-ab64-3d94b92df26c
4 |
5 | Код для начала урока по навигации в Android.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-android-trivia
8 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/04-navigation/trivia-starter-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #
2 | # Copyright 2018, The Android Open Source Project
3 | #
4 | # Licensed under the Apache License, Version 2.0 (the "License");
5 | # you may not use this file except in compliance with the License.
6 | # You may obtain a copy of the License at
7 | #
8 | # http://www.apache.org/licenses/LICENSE-2.0
9 | #
10 | # Unless required by applicable law or agreed to in writing, software
11 | # distributed under the License is distributed on an "AS IS" BASIS,
12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | # See the License for the specific language governing permissions and
14 | # limitations under the License.
15 | #
16 |
17 | #Tue Apr 17 15:14:16 PDT 2018
18 | distributionBase=GRADLE_USER_HOME
19 | distributionPath=wrapper/dists
20 | zipStoreBase=GRADLE_USER_HOME
21 | zipStorePath=wrapper/dists
22 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
23 | android.databinding.enableV2=true
24 |
--------------------------------------------------------------------------------
/04-navigation/trivia-starter-code/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/05-lifecycle/activity-lifecycle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/activity-lifecycle.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | !/.idea/navEditor.xml
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/README.md:
--------------------------------------------------------------------------------
1 | # Dessert Pusher Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/e487c600-ed68-4576-a35a-12f211cf032e/concepts/6a155d63-8153-4a56-95cb-1dfdf06aa173.
4 |
5 | Финальный код урока по жизненному циклу активности.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-dessert-pusher.
8 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/ic_dessert_pusher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/ic_dessert_pusher-web.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/drawable/white_box.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_dessert_pusher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_dessert_pusher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-finish-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 24 15:17:30 PDT 2019
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-finish-code/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | !/.idea/navEditor.xml
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/README.md:
--------------------------------------------------------------------------------
1 | # Dessert Pusher Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/e487c600-ed68-4576-a35a-12f211cf032e/concepts/6a155d63-8153-4a56-95cb-1dfdf06aa173.
4 |
5 | Код для начала урока по жизненному циклу активности.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-dessert-pusher.
8 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/ic_dessert_pusher-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/ic_dessert_pusher-web.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/drawable/white_box.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_dessert_pusher.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_dessert_pusher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-hdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-mdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xhdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxhdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_dessert_pusher_round.png
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/app/src/main/res/values/ic_launcher_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | #FFFFFF
4 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/dessert-pusher-starter-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Wed Apr 24 15:17:30 PDT 2019
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/05-lifecycle/dessert-pusher-starter-code/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/05-lifecycle/fragment-lifecycle.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/05-lifecycle/fragment-lifecycle.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | !/.idea/navEditor.xml
10 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/README.md:
--------------------------------------------------------------------------------
1 | # Guess It Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/da3967cc-ba85-4045-bb46-dea1c770fb8b/concepts/bf448bba-9989-40fb-808f-4cc66f79c10e.
4 |
5 | Финальный код урока по архитектуре приложений.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-guess-it.
8 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/ic_guess_it-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/ic_guess_it-web.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
26 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/anim/slide_out_left.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
26 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_guess_it.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_guess_it_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-hdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-hdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-hdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-hdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-mdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-mdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-mdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-mdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xhdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xhdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xhdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xhdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-finish-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Oct 01 14:14:39 PDT 2018
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-finish-code/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-mvvm.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-mvvm.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | /.idea/*
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 | !/.idea/navEditor.xml
10 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/README.md:
--------------------------------------------------------------------------------
1 | # Guess It Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/da3967cc-ba85-4045-bb46-dea1c770fb8b/concepts/bf448bba-9989-40fb-808f-4cc66f79c10e.
4 |
5 | Код для начала урока по архитектуре приложений.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-guess-it.
8 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/ic_guess_it-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/ic_guess_it-web.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
26 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/anim/slide_out_left.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
26 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_guess_it.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_guess_it_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-hdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-hdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-hdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-hdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-mdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-mdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-mdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-mdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xhdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xhdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xhdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xhdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxhdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_guess_it_round.png
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/guess-it-starter-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Mon Oct 01 14:14:39 PDT 2018
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/guess-it-starter-code/settings.gradle:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | include ':app'
18 |
--------------------------------------------------------------------------------
/06-app-architecture-ui/livedata.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/06-app-architecture-ui/livedata.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/android-threads.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/android-threads.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/coroutines-suspend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/coroutines-suspend.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/mvvm-with-database.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/mvvm-with-database.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/mvvm-with-room.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/mvvm-with-room.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | .idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/README.md:
--------------------------------------------------------------------------------
1 | # Sleep Tracker Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/fcd3f9aa-3632-4713-a299-ea39939d6fd7/concepts/bcb1d18d-31cc-4632-848c-64d4a11bd747.
4 |
5 | Финальный код урока по хранению данных приложения.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-sleep-tracker.
8 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/ic_launcher_sleep_tracker-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/ic_launcher_sleep_tracker-web.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/font/roboto.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | 16dp
19 | 64dp
20 | 20sp
21 | 48dp
22 |
23 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 | - @font/roboto
20 |
21 |
22 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | android.useAndroidX=true
15 | android.enableJetifier=true
16 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Mar 07 16:34:35 MSK 2020
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_quality.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_quality.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_start.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_stop.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-finish-code/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | .idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/README.md:
--------------------------------------------------------------------------------
1 | # Sleep Tracker Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/fcd3f9aa-3632-4713-a299-ea39939d6fd7/concepts/bcb1d18d-31cc-4632-848c-64d4a11bd747.
4 |
5 | Начальный код урока по хранению данных приложения.
6 |
7 | Пример взят из репозитория: https://github.com/udacity/andfun-kotlin-sleep-tracker.
8 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/ic_launcher_sleep_tracker-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/ic_launcher_sleep_tracker-web.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/java/com/example/android/trackmysleepquality/database/SleepDatabase.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.trackmysleepquality.database
18 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/java/com/example/android/trackmysleepquality/database/SleepDatabaseDao.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.trackmysleepquality.database
18 |
19 | interface SleepDatabaseDao
20 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/java/com/example/android/trackmysleepquality/database/SleepNight.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.trackmysleepquality.database
18 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/java/com/example/android/trackmysleepquality/sleepquality/SleepQualityViewModel.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.trackmysleepquality.sleepquality
18 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/java/com/example/android/trackmysleepquality/sleepquality/SleepQualityViewModelFactory.kt:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright 2018, The Android Open Source Project
3 | *
4 | * Licensed under the Apache License, Version 2.0 (the "License");
5 | * you may not use this file except in compliance with the License.
6 | * You may obtain a copy of the License at
7 | *
8 | * http://www.apache.org/licenses/LICENSE-2.0
9 | *
10 | * Unless required by applicable law or agreed to in writing, software
11 | * distributed under the License is distributed on an "AS IS" BASIS,
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 | * See the License for the specific language governing permissions and
14 | * limitations under the License.
15 | */
16 |
17 | package com.example.android.trackmysleepquality.sleepquality
18 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/font/roboto.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | 16dp
19 | 64dp
20 | 20sp
21 | 48dp
22 |
23 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 | - @font/roboto
20 |
21 |
22 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | android.useAndroidX=true
15 | android.enableJetifier=true
16 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker-starter-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Tue Oct 02 13:39:27 PDT 2018
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker-starter-code/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/07-app-architectrure-persistance/sleep-tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/07-app-architectrure-persistance/sleep-tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/adapter-pattern.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/adapter-pattern.png
--------------------------------------------------------------------------------
/08-recyclerview/list_item_sleep_night.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/list_item_sleep_night.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | .idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/README.md:
--------------------------------------------------------------------------------
1 | # Sleep Tracker Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/ee5a525f-0ba3-4d25-ba29-1fa1d6c567b8/concepts/771f758c-d57d-481d-82ba-e78df608a753
4 |
5 | Финальный код урока по `RecyclerView`.
6 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/ic_launcher_sleep_tracker-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/ic_launcher_sleep_tracker-web.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/font/roboto.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/layout/text_item_view.xml:
--------------------------------------------------------------------------------
1 |
2 |
8 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher_sleep_tracker.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/values/colors.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 | #6ab343
20 | #388310
21 | #6ab343
22 |
23 | #388310
24 | #f0f0f0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | 16dp
19 | 64dp
20 | 20sp
21 | 48dp
22 |
23 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 | - @font/roboto
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | android.useAndroidX=true
15 | android.enableJetifier=true
16 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Mar 07 16:34:35 MSK 2020
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_quality.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_quality.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_start.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-finish-code/screenshots/sleep_quality_tracker_stop.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-finish-code/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/.gitignore:
--------------------------------------------------------------------------------
1 | *.iml
2 | .gradle
3 | /local.properties
4 | .idea
5 | .DS_Store
6 | /build
7 | /captures
8 | .externalNativeBuild
9 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/README.md:
--------------------------------------------------------------------------------
1 | # Sleep Tracker Example App
2 |
3 | Урок на Udacity: https://classroom.udacity.com/courses/ud9012/lessons/ee5a525f-0ba3-4d25-ba29-1fa1d6c567b8/concepts/771f758c-d57d-481d-82ba-e78df608a753
4 |
5 | Начальный код урока по `RecyclerView`.
6 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/.gitignore:
--------------------------------------------------------------------------------
1 | /build
2 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/proguard-rules.pro:
--------------------------------------------------------------------------------
1 | # Add project specific ProGuard rules here.
2 | # You can control the set of applied configuration files using the
3 | # proguardFiles setting in build.gradle.
4 | #
5 | # For more details, see
6 | # http://developer.android.com/guide/developing/tools/proguard.html
7 |
8 | # If your project uses WebView with JS, uncomment the following
9 | # and specify the fully qualified class name to the JavaScript interface
10 | # class:
11 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12 | # public *;
13 | #}
14 |
15 | # Uncomment this to preserve the line number information for
16 | # debugging stack traces.
17 | #-keepattributes SourceFile,LineNumberTable
18 |
19 | # If you keep the line number information, uncomment this to
20 | # hide the original source file name.
21 | #-renamesourcefileattribute SourceFile
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
11 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/ic_launcher_sleep_tracker-web.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/ic_launcher_sleep_tracker-web.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/anim/slide_in_right.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 |
25 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/font/roboto.xml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-anydpi-v26/ic_launcher_sleep_tracker.xml:
--------------------------------------------------------------------------------
1 |
2 |
17 |
18 |
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-hdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-mdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/mipmap-xxxhdpi/ic_launcher_sleep_tracker_round.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/values/dimens.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 | 16dp
19 | 64dp
20 | 20sp
21 | 48dp
22 |
23 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/app/src/main/res/values/preloaded_fonts.xml:
--------------------------------------------------------------------------------
1 |
16 |
17 |
18 |
19 | - @font/roboto
20 |
21 |
22 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/gradle.properties:
--------------------------------------------------------------------------------
1 | # Project-wide Gradle settings.
2 | # IDE (e.g. Android Studio) users:
3 | # Gradle settings configured through the IDE *will override*
4 | # any settings specified in this file.
5 | # For more details on how to configure your build environment visit
6 | # http://www.gradle.org/docs/current/userguide/build_environment.html
7 | # Specifies the JVM arguments used for the daemon process.
8 | # The setting is particularly useful for tweaking memory settings.
9 | org.gradle.jvmargs=-Xmx1536m
10 | # When configured, Gradle will run in incubating parallel mode.
11 | # This option should only be used with decoupled projects. More details, visit
12 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
13 | # org.gradle.parallel=true
14 | android.useAndroidX=true
15 | android.enableJetifier=true
16 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Sat Mar 07 16:34:35 MSK 2020
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-8.10.2-all.zip
7 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/screenshots/sleep_quality_tracker_quality.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/screenshots/sleep_quality_tracker_quality.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/screenshots/sleep_quality_tracker_start.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/screenshots/sleep_quality_tracker_start.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/screenshots/sleep_quality_tracker_stop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-starter-code/screenshots/sleep_quality_tracker_stop.png
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-starter-code/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
--------------------------------------------------------------------------------
/08-recyclerview/sleep-tracker-with-recyclerview.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ivanshchitov/android-kotlin-course/5a88e37bf890dfaf53e0cc736b319a032321e491/08-recyclerview/sleep-tracker-with-recyclerview.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # android-kotlin-course
2 |
3 | Курс по разработке под Android на Kotlin.
4 |
5 | Курс основан на Udacity-курсе "Developing Android Apps with Kotlin" от Google: https://classroom.udacity.com/courses/ud9012.
6 |
7 | Документация на Kotlin: https://kotlinlang.ru/docs/reference/basic-syntax.html.
8 | IntelliJ IDEA: https://www.jetbrains.com/idea/.
9 | Android Studio: https://developer.android.com/studio.
10 | Documentation for Android developers: https://developer.android.com/docs.
11 |
--------------------------------------------------------------------------------