Swift to Kotlin Android Conversion

MBL-218 (4 Days)
Request Pricing for Swift to Kotlin Android Conversion

Swift to Kotlin Training Overview

This Swift to Kotlin Android Conversion training course teaches experienced iOS/Swift developers how to seamlessly move to Android/Kotlin. Attendees learn how to build complete Android applications that conform to modern best practices and take advantage of popular frameworks, including Dagger and RxJava.

Location and Pricing

This course is taught as a private online class for teams of 3 or more. All our private online courses are hands-on, instructor-led, and customizable to fit your group’s goals and needs. To receive a customized proposal and price quote, please contact us.

Swift to Kotlin Training Objectives

All students will learn how to:

  • Leverage the Java Platform
  • Use Android Studio
  • Convert from Swift to Kotlin
  • Build user interfaces
  • Test, monitor, secure, and deploy Android

Swift to Kotlin Training Outline

Expand All | Collapse All | Printer-Friendly

Introduction
Core Concepts of the Java Platform
  • How Kotlin emerged from Java and Scala
  • The current JSE platform and toolset
  • Why Google broke Android away from Oracle
  • Java 8+ features not available on Android
  • How Kotlin modernizes coding on Android
  • Creating Kotlin projects in IntelliJ Community
  • Creating mobile apps in Android Studio
Core Tooling in JSE and Android
  • Comparing XCode to Android Studio
  • Managing dependencies using Gradle
  • Pros and cons of Android emulators
  • How Intel HAXM improves emulation speeds
  • Configuring sample devices for testing
  • Developer features available on devices
  • Command-line interaction using ADB
Making the Most of Android Studio
  • Core functionality of Android Studio
  • Best practices for editing Kotlin codebases
  • Working with the Layout Inspector and Editor
  • Configuring the SDK and AVD Manager
  • Monitoring resource usage via the Profiler
  • Viewing and filtering logs via LogCat
Converting from Swift to Kotlin
  • Minor variations in the basic syntax
  • Mutability in Kotlin vs. Swift
  • Similarities in support for OO and FP
  • Limitations of class extensions in Kotlin
  • Differences in working with collections
  • Representing ranges in Swift and Kotlin
  • Optionals in Swift vs. null safety in Kotlin
  • Swift has tuples, Kotlin has 
  • Destructuring data classes and lists in Kotlin
  • Shorthand notation for parameters in closures
  • Comparing protocols in Swift to Kotlin interfaces
  • Taking advantage of reflection and delegates
Essentials of Android Applications
  • Android has no Storyboard equivalent
  • Understanding and editing the Manifest File
  • Introducing Android Activities and Fragments
  • Navigation between Activities and Fragments
  • How a device manages the lifecycle of an Activity
  • Designing an application around the MVVM pattern
  • Using databinding to push data into the model
Building Basic User Interfaces
  • Specifying a view hierarchy as XML
  • Reasons to avoid specifying hierarchies in code
  • Limits of the ‘drag and drop’ approach in the IDE
  • Using and combining the standard Android widgets
  • The support libraries and targeting legacy versions of Android
  • Special consideration when accepting textual input
  • Positioning widgets by creating and nesting layouts
  • Different options for attaching event handlers to views
  • Using binding adapters to bind views to data sources
  • Customizing widgets using styles and themes
  • Creating new widgets by extending existing ones
Enhancing the User Interface
  • Understanding the lifecycle of an 
  • How to preserve mutable state via callbacks and bundles
  • Starting one activity from another via intents
  • Processing intents using filtering and receivers
  • Creating and using files in a range of locations
  • Advantages of Kotlin Coroutines over 
  • Using the JetBrains Kotlin Android Extensions
  • Using the Google Android Kotlin Extensions
Dependency Injection
  • Using the Dagger framework for DI
  • Understanding Compile Time Injection
  • Configuring dependencies via 
  • Using 
  • Considerations when injecting into Activities
Reactive Coding in Android
  • Review of Rx and the RxJava framework
  • Using RxKotlin for syntactic sugar
  • Combining Rx and Kotlin Coroutines
Accessing RESTful Services
  • Introducing the Retrofit library
  • Creating service clients via annotations
  • Support for reactive streams in Retrofit
  • Marshalling to and from JSON and XML
  • Customizing object serialization
Persistence in Android
  • Supported databases on Android devices
  • Persisting data in SQLite using Room
  • Using annotations to specify Entity Types
  • Using annotations to specify Data Access Objects
  • Migrating databases between schema versions
  • Switching databases for testing
Security in Android
  • Managing key pairs via the Android Keystore
  • The security model and permissions available
  • Prompting the user to acquire permissions
  • Signing applications for distribution
Background Processing
  • Android services and their lifecycles
  • Using the Work Manager for scheduling jobs
Testing Android Applications
  • TDD with JUnit, Mockito, and Hamcrest
  • User Interface testing with Espresso
  • Best practices for running tests in CI/CD
  • Options for mocking RESTful services
Deploying and Monitoring Applications
  • Platforms for distributing beta versions
  • Options for recording and reporting crashes
  • Techniques for monitoring the full system
Conclusion
Request Pricing for Swift to Kotlin Android Conversion

Lecture percentage

50%

Lecture/Demo

Lab percentage

50%

Lab

Course Number:

MBL-218

Duration:

4 Days

Prerequisites:

Attendees must have several years of experience in Swift / iOS and be familiar with the core concepts of object-oriented and functional programming.

Training Materials:

All attendees receive comprehensive courseware.

Course outline and materials are copyrighted and owned by Instil Software.

Software Requirements:

  • Windows or Mac minimum 8 GB RAM
  • Android Studio installed
  • Provided lab files from Accelebrate

Contact Us:

Accelebrate’s training classes are available for private groups of 3 or more people at your site or online anywhere worldwide.

Don't settle for a "one size fits all" public class! Have Accelebrate deliver exactly the training you want, privately at your site or online, for less than the cost of a public class.

For pricing and to learn more, please contact us.

Contact Us Train For Us

Have you read our Google reviews?

Toll-free in US/Canada:
877 849 1850
International:
+1 678 648 3113

Fax: +1 404 420 2491

925B Peachtree Street, NE
PMB 378
Atlanta, GA 30309-3918
USA

Subscribe to our Newsletter:

Never miss the latest news and information from Accelebrate:

Microsoft Gold Partner

Please see our complete list of
Microsoft Official Courses

Recent Training Locations

Alabama

Birmingham

Huntsville

Montgomery

Alaska

Anchorage

Arizona

Phoenix

Tucson

Arkansas

Fayetteville

Little Rock

California

Los Angeles

Oakland

Orange County

Sacramento

San Diego

San Francisco

San Jose

Colorado

Boulder

Colorado Springs

Denver

Connecticut

Hartford

DC

Washington

Florida

Fort Lauderdale

Jacksonville

Miami

Orlando

Tampa

Georgia

Atlanta

Augusta

Savannah

Hawaii

Honolulu

Idaho

Boise

Illinois

Chicago

Indiana

Indianapolis

Iowa

Cedar Rapids

Des Moines

Kansas

Wichita

Kentucky

Lexington

Louisville

Louisiana

New Orleans

Maine

Portland

Maryland

Annapolis

Baltimore

Frederick

Hagerstown

Massachusetts

Boston

Cambridge

Springfield

Michigan

Ann Arbor

Detroit

Grand Rapids

Minnesota

Minneapolis

Saint Paul

Mississippi

Jackson

Missouri

Kansas City

St. Louis

Nebraska

Lincoln

Omaha

Nevada

Las Vegas

Reno

New Jersey

Princeton

New Mexico

Albuquerque

New York

Albany

Buffalo

New York City

White Plains

North Carolina

Charlotte

Durham

Raleigh

Ohio

Akron

Canton

Cincinnati

Cleveland

Columbus

Dayton

Oklahoma

Oklahoma City

Tulsa

Oregon

Portland

Pennsylvania

Philadelphia

Pittsburgh

Rhode Island

Providence

South Carolina

Charleston

Columbia

Greenville

Tennessee

Knoxville

Memphis

Nashville

Texas

Austin

Dallas

El Paso

Houston

San Antonio

Utah

Salt Lake City

Virginia

Alexandria

Arlington

Norfolk

Richmond

Washington

Seattle

Tacoma

West Virginia

Charleston

Wisconsin

Madison

Milwaukee

Alberta

Calgary

Edmonton

British Columbia

Vancouver

Manitoba

Winnipeg

Nova Scotia

Halifax

Ontario

Ottawa

Toronto

Quebec

Montreal

Puerto Rico

San Juan

© 2013-2020 Accelebrate, Inc. All Rights Reserved. All trademarks are owned by their respective owners.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.