Wangereka Harun / Вангерека Харун - Mastering Kotlin for Android 14 / Осваиваем Kotlin для Android 14 [2024, PDF/EPUB, ENG]

Страницы:  1
Ответить
 

tsurijin

Стаж: 3 года 6 месяцев

Сообщений: 1684


tsurijin · 03-Май-24 14:48 (1 месяц 1 день назад, ред. 03-Май-24 14:50)

Mastering Kotlin for Android 14: Build powerful Android apps from scratch using Jetpack libraries and Jetpack Compose / Осваиваем Kotlin для Android 14: Создавайте мощные приложения для Android с нуля, используя библиотеки Jetpack и Jetpack Compose.
Год издания: 2024
Автор: Wangereka Harun / Вангерека Харун
Издательство: Packt Publishing
ISBN: 978-1-83763-171-1
Язык: Английский
Формат: PDF, EPUB
Качество: Издательский макет или текст (eBook)
Интерактивное оглавление: Да
Количество страниц: 370
Описание: Accelerate your Android development journey by mastering the latest Kotlin techniques and libraries to build robust apps
Key Features
Apply best practices and industry-essential skills used by Google Developer Experts
Find out how to publish, monitor, and improve your app metrics on the Google Play Store
Learn how to debug issues, detect leaks, inspect network calls, and inspect your app’s local database
Purchase of the print or Kindle book includes a free PDF eBook
Book Description
Written with the best practices, this book will help you master Kotlin and use its powerful language features, libraries, tools, and APIs to elevate your Android apps.
As you progress, you’ll use Jetpack Compose and Material Design 3 to build UIs for your app, explore how to architect and improve your app architecture, and use Jetpack Libraries like Room and DataStore to persist your data locally. Using a step-by-step approach, this book will teach you how to debug issues in your app, detect leaks, inspect network calls fired by your app, and inspect your Room database. You’ll also add tests to your apps to detect and address code smells.
Toward the end, you’ll learn how to publish apps to the Google Play Store and see how to automate the process of deploying consecutive releases using GitHub actions, as well as learn how to distribute test builds to Firebase App Distribution. Additionally, the book covers tips on how to increase user engagement.
By the end of this Kotlin book, you’ll be able to develop market-ready apps, add tests to their codebase, address issues, and get them in front of the right audience.
What you will learn
Build beautiful, responsive, and accessible UIs with Jetpack Compose
Explore various app architectures and find out how you can improve them
Perform code analysis and add unit and instrumentation tests to your apps
Publish, monitor, and improve your apps in the Google Play Store
Perform long-running operations with WorkManager and persist data in your app
Use CI/CD with GitHub Actions and distribute test builds with Firebase App Distribution
Find out how to add linting and static checks on CI/CD pipelines
Who this book is for
If you’re an aspiring Android developer or an Android developer working with Java, then this book is for you. Basic Java programming skills are a must if you want to fully utilize the techniques and best practices showcased in this book.
Ускорьте процесс разработки Android, освоив новейшие технологии и библиотеки Kotlin для создания надежных приложений
Ключевые функции
Применяйте лучшие практики и необходимые отраслевые навыки, которыми пользуются эксперты Google для разработчиков
Узнайте, как публиковать, отслеживать и улучшать показатели ваших приложений в Google Play Store
Узнайте, как устранять неполадки, обнаруживать утечки, проверять сетевые вызовы и локальную базу данных вашего приложения
При покупке книги print или Kindle Book предоставляется бесплатная электронная книга в формате PDF
Описание книги
Написанная с учетом лучших практик, эта книга поможет вам освоить Kotlin и использовать его мощные языковые возможности, библиотеки, инструменты и API для улучшения ваших приложений для Android.
По мере продвижения вы будете использовать Jetpack Compose и Material Design 3 для создания пользовательских интерфейсов для своего приложения, узнаете, как спроектировать и улучшить архитектуру приложения, а также использовать библиотеки Jetpack, такие как Room и DataStore, для локального хранения ваших данных. Используя пошаговый подход, эта книга научит вас, как устранять неполадки в вашем приложении, обнаруживать утечки, проверять сетевые вызовы, выполняемые вашим приложением, и проверять базу данных номеров. Вы также добавите в свои приложения тесты для обнаружения и устранения запахов кода.
Ближе к концу вы узнаете, как публиковать приложения в Google Play Store и как автоматизировать процесс развертывания последовательных выпусков с помощью GitHub actions, а также узнаете, как распространять тестовые сборки в Firebase App Distribution. Кроме того, в книге содержатся советы о том, как повысить вовлеченность пользователей.
Прочитав эту книгу на Kotlin, вы сможете разрабатывать приложения, готовые к продаже, добавлять тесты в их кодовую базу, устранять проблемы и представлять их нужной аудитории.
Чему вы научитесь
Создавайте красивые, отзывчивые и доступные пользовательские интерфейсы с помощью Jetpack Compose
Изучите различные архитектуры приложений и узнайте, как их можно улучшить
Выполняйте анализ кода и добавляйте модульные и инструментальные тесты в свои приложения
Публикуйте, отслеживайте и улучшайте свои приложения в Google Play Store
Выполняйте длительные операции с помощью WorkManager и сохраняйте данные в своем приложении
Используйте CI/CD с помощью GitHub Actions и распространяйте тестовые сборки с помощью Firebase App Distribution
Узнайте, как добавить linting и статические проверки в конвейеры CI/CD
Для кого предназначена эта книга
Если вы начинающий разработчик Android или разработчик Android, работающий с Java, то эта книга для вас. Базовые навыки программирования на Java необходимы, если вы хотите в полной мере использовать методы и рекомендации, представленные в этой книге.
Примеры страниц (скриншоты)
Оглавление
Preface xiii
Part 1: Building Your App
1
Get Started with Kotlin Android Development 3
Technical requirements 3
Introduction to Kotlin 4
Kotlin syntax, types, functions
and classes 5
Creating a Kotlin project 6
Creating functions 8
Creating classes 9
Migrating from Java to Kotlin 10
Kotlin features for Android developers 11
Summary 12
2
Creating Your First Android App 13
Technical requirements 13
Android Studio overview 13
Creating your Android app 17
Exploring the new project 19
Android Studio tips and tricks 24
Some useful shortcuts 28
Summary 29
3
Jetpack Compose Layout Basics 31
Technical requirements 31
Introduction to Jetpack Compose 32
Declarative versus imperative UIs 32
Composable functions 35
Previews 37
Modifiers 38
Jetpack Compose layouts 39
Column 41
Row 43
Box 45
Lists 46
Summary 52
4
Design with Material Design 3 53
Technical requirements 53
Material Design 3 and its features 53
Material components 54
Using Material Design in our apps 61
Adding Material Design 3 color schemes 62
Designing UIs for large screens
and foldables 72
Using WindowSizeClass 72
Making our app accessible 74
Summary 76
Part 2: Using Advanced Features
5
Architect Your App 79
Technical Requirements 79
Introduction to app architecture 80
Deep Diving into MVVM 81
How LazyColumn works 83
Benefits of LazyColumn 84
Creating a composable 84
Jetpack libraries 87
Dependency injection 88
Migrating to Kotlin Gradle DSL and
using version catalogs 91
Migrating our app to Kotlin Gradle DSL 91
Using a versions catalog 95
Summary 98
6
Network Calls with Kotlin Coroutines 99
Technical requirements 99
Setting up Retrofit 99
Introduction to Kotlin coroutines 104
Coroutine basics 104
Using Kotlin coroutines for
network calls 106
Summary 113
7
Navigating within Your App 115
Technical requirements 115
Jetpack Navigation overview 116
Navigating to Compose destinations 120
Passing arguments to destinations 125
Navigation in foldables and
large screens 129
Creating and using the resizable emulator 147
Summary 155
8
Persisting Data Locally and Doing Background Work 157
Technical requirements 157
Saving and reading data from a
local database 158
Handling updates and migrations in
the Room database 166
Using WorkManager to schedule
background tasks 181
Testing your workers 186
Summary 191
9
Runtime Permissions 193
Technical requirements 193
Understanding runtime permissions 193
Requesting permissions at runtime 195
Summary 204
Part 3: Code Analysis and Tests
10
Debugging Your App 207
Technical requirements 207
General debugging tips and tricks 208
Logcat 208
Stack traces 210
Breakpoints 213
Detecting memory leaks with
LeakCanary 215
Inspecting network requests
with Chucker 220
Using App Inspection 227
Summary 230
11
Enhancing Code Quality 231
Technical requirements 231
Mastering Kotlin style and
best practices 231
Coding conventions 232
Null safety 232
Data classes 232
Extensions functions 233
Type inference 233
Collections 234
Sealed classes and interfaces 234
Formatting 235
Functional programming 235
Coroutines 235
The when statements 236
Classes and functions 236
Using Ktlint for static analysis 236
Detecting code smells with detekt 241
Setting up detekt 242
Customizing detekt 244
Summary 248
12
Testing Your App 249
Technical requirements 249
Importance of testing 250
Testing the network and
database layers 252
Testing the network layer 252
Testing the database layer 258
Testing our ViewModels 261
Adding UI tests to our composables 264
Summary 268
Part 4: Publishing Your App
13
Publishing Your App 271
Technical requirements 271
Preparing our app for release 272
Add analytics to your app 272
Add crash reporting to your app 272
Turn off logging and debugging 273
Internationalize and localize your app 273
Improve error messages 273
Test your app on different devices 273
Provide proper feedback channels 273
Reduce the size of your app 274
Use the Android App Bundle 274
Enable minification and obfuscation 276
Releasing our app to the
Google Play Store 280
Creating our first release 296
An overview of
Google Play Store policies 302
Summary 303
14
Continuous Integration and Continuous Deployment 305
Technical requirements 306
Setting up GitHub Actions 306
Benefits of CI/CD 306
How CI/CD works 307
Setting up GitHub Actions 307
Running lint checks and tests on
GitHub Actions 313
Deploying to Play Store using
GitHub Actions 318
Summary 322
15
Improving Your App 323
Technical requirements 323
Using Firebase Crashlytics to
detect crashes 324
Setting up Google Analytics 332
Improving app engagement with
Firebase Messaging 333
Securing your app 339
Summary 340
Index 341
Other Books You May Enjoy 348
Download
Rutracker.org не распространяет и не хранит электронные версии произведений, а лишь предоставляет доступ к создаваемому пользователями каталогу ссылок на торрент-файлы, которые содержат только списки хеш-сумм
Как скачивать? (для скачивания .torrent файлов необходима регистрация)
[Профиль]  [ЛС] 
 
Ответить
Loading...
Error