forked from GitHub-Mirror/riotX-android
Convert file to Kotlin
This commit is contained in:
parent
d92c090c30
commit
ffe0b9712c
@ -14,16 +14,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package im.vector.riotx.core.di;
|
package im.vector.matrix.android.internal.di
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import javax.inject.Scope
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
|
|
||||||
import javax.inject.Scope;
|
|
||||||
|
|
||||||
@Scope
|
@Scope
|
||||||
@Documented
|
@MustBeDocumented
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
public @interface ScreenScope {
|
annotation class MatrixScope
|
||||||
}
|
|
@ -14,16 +14,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package im.vector.matrix.android.internal.session;
|
package im.vector.matrix.android.internal.session
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import javax.inject.Scope
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
|
|
||||||
import javax.inject.Scope;
|
|
||||||
|
|
||||||
@Scope
|
@Scope
|
||||||
@Documented
|
@MustBeDocumented
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
public @interface SessionScope {
|
annotation class SessionScope
|
||||||
}
|
|
@ -14,17 +14,11 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package im.vector.matrix.android.internal.di;
|
package im.vector.riotx.core.di
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import javax.inject.Scope
|
||||||
import java.lang.annotation.Retention;
|
|
||||||
import java.lang.annotation.RetentionPolicy;
|
|
||||||
|
|
||||||
import javax.inject.Scope;
|
|
||||||
|
|
||||||
// TODO convert the 3 scope to Java?
|
|
||||||
@Scope
|
@Scope
|
||||||
@Documented
|
@MustBeDocumented
|
||||||
@Retention(RetentionPolicy.RUNTIME)
|
@Retention(AnnotationRetention.RUNTIME)
|
||||||
public @interface MatrixScope {
|
annotation class ScreenScope
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user