Skip to content
This repository was archived by the owner on Jan 26, 2023. It is now read-only.

Commit 238f19b

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents a324446 + 6297b6a commit 238f19b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ CacheManager.getListOfCacheFiles(appContext)
163163

164164
# Global instances
165165

166-
## Create global instacne
166+
## Create global instance
167167
The `createGlobalInstance` function accept 4 parameters: `context: Context, instanceName: String, fileName: String = "CacheBase", autoSave: Boolean = true` and return cache instance.
168168

169169
**To create global instance:**
@@ -172,7 +172,7 @@ The `createGlobalInstance` function accept 4 parameters: `context: Context, inst
172172
CacheManager.createGlobalInstance(context = appContext, instanceName = "Instance1", fileName = "instanceFile1")
173173
```
174174

175-
## Get global instacne
175+
## Get global instance
176176
The `getGlobalInstance` function accept 1 parameter: `instanceName: String` and return cache instance.
177177

178178
**To get global instance by name:**
@@ -195,13 +195,13 @@ The save parameter is optional, default set as true.
195195
**To remove global instance by name:**
196196

197197
```kotlin
198-
val globalInstance2 = CacheManager.removeGlobalInstance(instanceName = "Instance1")
198+
CacheManager.removeGlobalInstance(instanceName = "Instance1")
199199
```
200200

201201
**To remove all global instances:**
202202

203203
```kotlin
204-
val globalInstance2 = CacheManager.removeAllGlobalInstances()
204+
CacheManager.removeAllGlobalInstances()
205205
```
206206

207207
# Changelog

0 commit comments

Comments
 (0)