Blog Post

Kotlin-Ready Online Guides

Illustration: Kotlin-Ready Online Guides

Our Android guides for PSPDFKit received a large update – now with Kotlin usage examples. Kotlin is a statically-typed programming language, and is currently booming for Android development.

Our guides now sport articles about all relevant parts of PSPDFKit, both for iOS and Android – giving detailed code examples in the selected language.

Java & Kotlin code switching

Syntax highlighting is done via Rouge, a ruby based syntax highlighter which we were already using for highlighting all of our Java, Objective-C, and Swift code examples. Since the Kotlin lexer is still a work-in-progress (it’s an open PR at the Rouge repo) we went ahead and forked Rouge to our PSPDFKit-Labs GitHub organization and added some tweaks (Update: the changes from our fork were merged). Special thanks to Matt Ellis for creating the original pull request.

If you’re an Android developer using Kotlin and PSPDFKit, please let us know – we would be happy if you would send us your feedback and further ideas.

Related Products
Share Post
Free 60-Day Trial Try PSPDFKit in your app today.
Free Trial

Related Articles

Explore more
PRODUCTS  |  Android • Releases

Android 2024.1 Update: Advanced Content Editing and Digital Signatures, Plus Expanded Jetpack Compose Support

TUTORIALS  |  Android • How To

How to Persist Zoom While Scrolling through a Document Using the PSPDFKit Android Library

CUSTOMER STORIES  |  Case Study • React Native • iOS • Android

Case Study: How Trinoor Uses PSPDFKit to Drive Operational Excellence with Flexible, Mobile Applications for the Energy and Utilities Market