From 655b4ef5b208eb752f5448348af204bf0bc780c6 Mon Sep 17 00:00:00 2001 From: Josef Raska <6277721+jraska@users.noreply.github.com> Date: Mon, 31 Jan 2022 12:11:40 +0100 Subject: [PATCH] Update Readme with Kotlin example (#68) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f3d650..8517c6c 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@ ```java // Saving screenshot to file -Falcon.takeScreenshot(activity, file); +Falcon.takeScreenshot(activity, file) // Take bitmap and do whatever you want -Bitmap bitmap = Falcon.takeScreenshotBitmap(activity); +val bitmap = Falcon.takeScreenshotBitmap(activity) ``` Check falcon-sample and its android tests for more example usage.