Getting started - Android

This is a renderer which targets Android native controls.

Install Maven package

Maven Central

You can find the published packages here

To include library to your project you must include this line into your project gradle.build under the dependencies section

 implementation 'io.adaptivecards:adaptivecards-android:1.1.0'

You need to change the version number depending on the version you want to include into your project

Add import

To include the object model, add this import

 import io.adaptivecards.objectmodel.*;

To include the renderer, add this import

 import io.adaptivecards.renderer.*;

Next steps

See Render a card for the next steps!