├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ ├── themes.xml │ │ │ │ ├── preloaded_fonts.xml │ │ │ │ ├── colors.xml │ │ │ │ └── font_certs.xml │ │ │ ├── drawable │ │ │ │ ├── bg_map.png │ │ │ │ ├── img_bar.png │ │ │ │ ├── img_brunch.png │ │ │ │ ├── img_burger.png │ │ │ │ ├── img_coffee.png │ │ │ │ ├── img_steak.png │ │ │ │ ├── img_sushi.png │ │ │ │ ├── ic_arrow_left.xml │ │ │ │ ├── ic_user_location.xml │ │ │ │ ├── ic_movie.xml │ │ │ │ ├── ic_phone.xml │ │ │ │ ├── ic_tools_kitchen_2.xml │ │ │ │ ├── ic_bed.xml │ │ │ │ ├── ic_gas_station.xml │ │ │ │ ├── ic_first_aid_kit.xml │ │ │ │ ├── ic_scan.xml │ │ │ │ ├── img_pin.xml │ │ │ │ ├── ic_launcher_foreground.xml │ │ │ │ ├── ic_shopping_cart.xml │ │ │ │ ├── ic_map_pin.xml │ │ │ │ ├── ic_ticket.xml │ │ │ │ ├── ic_shopping_bag.xml │ │ │ │ ├── img_loader.xml │ │ │ │ ├── ic_qrcode.xml │ │ │ │ ├── ic_nearby_launcher_foreground.xml │ │ │ │ ├── img_logo_logo_icon.xml │ │ │ │ ├── ic_launcher_background.xml │ │ │ │ ├── ic_bakery.xml │ │ │ │ └── bg_splash_screen.xml │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_nearby_launcher.webp │ │ │ │ ├── ic_launcher_foreground.webp │ │ │ │ └── ic_nearby_launcher_round.webp │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_nearby_launcher.webp │ │ │ │ ├── ic_launcher_foreground.webp │ │ │ │ └── ic_nearby_launcher_round.webp │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_nearby_launcher.webp │ │ │ │ ├── ic_launcher_foreground.webp │ │ │ │ └── ic_nearby_launcher_round.webp │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_nearby_launcher.webp │ │ │ │ ├── ic_launcher_foreground.webp │ │ │ │ └── ic_nearby_launcher_round.webp │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_nearby_launcher.webp │ │ │ │ ├── ic_launcher_foreground.webp │ │ │ │ └── ic_nearby_launcher_round.webp │ │ │ ├── mipmap-anydpi-v26 │ │ │ │ ├── ic_nearby_launcher.xml │ │ │ │ └── ic_nearby_launcher_round.xml │ │ │ ├── xml │ │ │ │ ├── network_security_config.xml │ │ │ │ ├── backup_rules.xml │ │ │ │ └── data_extraction_rules.xml │ │ │ └── font │ │ │ │ ├── rubik.xml │ │ │ │ ├── rubik_bold.xml │ │ │ │ ├── rubik_medium.xml │ │ │ │ └── rubik_semibold.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── rocketseat │ │ │ │ └── nlw │ │ │ │ └── nearby │ │ │ │ ├── data │ │ │ │ └── model │ │ │ │ │ ├── Coupon.kt │ │ │ │ │ ├── mock │ │ │ │ │ ├── MockUserLocation.kt │ │ │ │ │ ├── MockCategories.kt │ │ │ │ │ ├── MockRules.kt │ │ │ │ │ └── MockMarkets.kt │ │ │ │ │ ├── Rule.kt │ │ │ │ │ ├── Market.kt │ │ │ │ │ ├── Category.kt │ │ │ │ │ └── MarketDetails.kt │ │ │ │ ├── ui │ │ │ │ ├── screen │ │ │ │ │ ├── home │ │ │ │ │ │ ├── HomeUiEvent.kt │ │ │ │ │ │ ├── HomeUiState.kt │ │ │ │ │ │ ├── HomeViewModel.kt │ │ │ │ │ │ └── HomeScreen.kt │ │ │ │ │ ├── market_details │ │ │ │ │ │ ├── MarketDetailsUiState.kt │ │ │ │ │ │ ├── MarketDetailsUiEvent.kt │ │ │ │ │ │ ├── MarketDetailsViewModel.kt │ │ │ │ │ │ └── MarketDetailsScreen.kt │ │ │ │ │ ├── splash │ │ │ │ │ │ └── SplashScreen.kt │ │ │ │ │ ├── welcome │ │ │ │ │ │ └── WelcomeScreen.kt │ │ │ │ │ └── qrcode_scanner │ │ │ │ │ │ └── QRCodeScannerScreen.kt │ │ │ │ ├── route │ │ │ │ │ └── UIRoutes.kt │ │ │ │ ├── theme │ │ │ │ │ ├── Color.kt │ │ │ │ │ ├── Theme.kt │ │ │ │ │ └── Type.kt │ │ │ │ ├── util │ │ │ │ │ └── MapUtils.kt │ │ │ │ └── component │ │ │ │ │ ├── category │ │ │ │ │ ├── CategoryFilterChipView.kt │ │ │ │ │ ├── NearbyCategoryFilterChipList.kt │ │ │ │ │ └── NearbyCategoryFilterChip.kt │ │ │ │ │ ├── welcome │ │ │ │ │ ├── WelcomeHeader.kt │ │ │ │ │ ├── WelcomeContent.kt │ │ │ │ │ └── WelcomeHowItWorksTip.kt │ │ │ │ │ ├── market │ │ │ │ │ ├── NearbyMarketCardList.kt │ │ │ │ │ └── NearbyMarketCard.kt │ │ │ │ │ ├── market_details │ │ │ │ │ ├── NearbyMarketDetailsRules.kt │ │ │ │ │ ├── NearbyMarketDetailsCoupons.kt │ │ │ │ │ └── NearbyMarketDetailsInfos.kt │ │ │ │ │ ├── button │ │ │ │ │ └── NearbyButton.kt │ │ │ │ │ └── home │ │ │ │ │ └── NearbyGoogleMap.kt │ │ │ │ ├── core │ │ │ │ └── network │ │ │ │ │ ├── KtorHttpClient.kt │ │ │ │ │ └── NearbyRemoteDataSource.kt │ │ │ │ └── MainActivity.kt │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── rocketseat │ │ │ └── nlw │ │ │ └── nearby │ │ │ └── ExampleUnitTest.kt │ └── androidTest │ │ └── java │ │ └── com │ │ └── rocketseat │ │ └── nlw │ │ └── nearby │ │ └── ExampleInstrumentedTest.kt ├── proguard-rules.pro └── build.gradle.kts ├── .idea ├── .gitignore ├── compiler.xml ├── kotlinc.xml ├── vcs.xml ├── migrations.xml ├── deviceManager.xml ├── misc.xml ├── gradle.xml ├── deploymentTargetSelector.xml ├── runConfigurations.xml ├── appInsightsSettings.xml └── inspectionProfiles │ └── Project_Default.xml ├── gradle ├── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties └── libs.versions.toml ├── .gitignore ├── settings.gradle.kts ├── .kotlin └── errors │ └── errors-1732482169599.log ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Nearby 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/drawable/bg_map.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/bg_map.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/img_bar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_brunch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/img_brunch.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_burger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/img_burger.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_coffee.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/img_coffee.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_steak.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/img_steak.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/img_sushi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/drawable/img_sushi.png -------------------------------------------------------------------------------- /app/src/main/res/values/ic_launcher_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #257F49 4 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_nearby_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-hdpi/ic_nearby_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_nearby_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-mdpi/ic_nearby_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_nearby_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-xhdpi/ic_nearby_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_nearby_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-xxhdpi/ic_nearby_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_nearby_launcher.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_nearby_launcher.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_nearby_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-hdpi/ic_nearby_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_nearby_launcher_round.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-mdpi/ic_nearby_launcher_round.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rocketseat-education/nlw-pocket-mobile-kotlin/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp -------------------------------------------------------------------------------- /app/src/main/res/values/themes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |