Skip to content

Commit 1339d40

Browse files
committed
docs: Update README.md
Signed-off-by: plsankar <[email protected]>
1 parent 244eb41 commit 1339d40

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ implementation 'com.github.ctrlbytes:CodeKit:LATEST_VERSION_HERE'
2323
## Usage
2424

2525
### ConnectivityUtils
26-
2726
```kotlin
2827

2928
ConnectivityUtils.isInternetOn(context);
@@ -33,13 +32,11 @@ ConnectivityUtils.isWiFiOn(context);
3332
```
3433

3534
### AppsInDevice
36-
3735
```kotlin
3836
AppsInDevice.isInstalled(context, packageName)
3937
```
4038

4139
### Context KTX
42-
4340
```kotlin
4441
launchActivity(activityClass) { intent ->
4542
putExtra()
@@ -52,13 +49,9 @@ toast(stringRes|string, LENGTH_SHORT)
5249

5350
openAppInPlayStore() // will open current app
5451
openAppInPlayStore(appPackageName) // will open the specified package
55-
56-
runSafe {
57-
// do things that may throw error but don't care about the error (error will be printed to the console)ō
58-
}
5952
```
60-
### Fragment KTX
6153

54+
### Fragment KTX
6255
```kotlin
6356
toast(stringRes|string)
6457
toast(stringRes|string, LENGTH_SHORT)
@@ -90,4 +83,11 @@ format(simpleDateFormat)
9083
val items = dbCursor.toList {
9184
it.getString(0)
9285
}
86+
```
87+
88+
### Utils KTX
89+
```kotlin
90+
runSafe {
91+
// do things that may throw error (error will be printed to the console)
92+
}
9393
```

0 commit comments

Comments
 (0)