Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeandroSQ authored Nov 3, 2022
1 parent 01fd03a commit 9868fe9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,14 @@ And you are ready to go!

### Lifecycle

The library accepts being used both in an Activity and a Fragment!
This library accepts being used in Jetpack Compose Activities, AppCompat Activities and Fragments!

```kotlin
// For jetpack compose:
val ble = BLE(componentActivity = this)
// For activities:
val ble = BLE(activity = this)
// or
// For fragments
val ble = BLE(fragment = this)
```

Expand Down

0 comments on commit 9868fe9

Please sign in to comment.