Links

Android Usage

Using ShapeShift with an Android project.
In this guide we will see how we can use ShapeShift in an Android project.

Installation

Include the following dependency in your build.gradle file.
implementation 'dev.krud:shapeshift:0.7.0'
// Add Maven Central to your repositories if needed
repositories {
mavenCentral()
}

Usage

All of ShapeShift's features are available in Android. Continue to the Quick Start guide or jump directly to the Annotations, Kotlin DSL or Java Builder APIs.
ShapeShift uses reflection for its mapping functionality. If ProGuard is enabled in the project then mapped models should be excluded from obfuscation in order for the mapping to work.
Last modified 8d ago