mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 10:25:35 +03:00
Update matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/Matrix.kt
Co-authored-by: Benoit Marty <benoitm@matrix.org>
This commit is contained in:
parent
2f7f86b8bb
commit
2eb417ab05
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class Matrix private constructor(context: Context, matrixConfiguration: MatrixCo
|
|||
|
||||
/**
|
||||
* Creates a new instance of Matrix, it's recommended to manage this instance as a singleton.
|
||||
* To make use of the built in singleton use Matrix.initialise() and/or Matrix.getInstance(context) instead
|
||||
* To make use of the built in singleton use Matrix.initialize() and/or Matrix.getInstance(context) instead
|
||||
**/
|
||||
fun createInstance(context: Context, matrixConfiguration: MatrixConfiguration): Matrix {
|
||||
return Matrix(context.applicationContext, matrixConfiguration)
|
||||
|
|
Loading…
Reference in a new issue