This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import androidx.compose.ui.semantics.SemanticsPropertyKey | |
import androidx.compose.ui.semantics.SemanticsPropertyReceiver | |
val DrawableId = SemanticsPropertyKey<List<Int>>( | |
name = "DrawableResId", | |
mergePolicy = mergeSemantics() | |
) | |
var SemanticsPropertyReceiver.drawableId: Int | |
get() = throwSemanticsGetNotSupported() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* A [CallAdapter.Factory] which allows [NetworkResponse] objects to be | |
* returned from RxJava streams created by Retrofit. | |
* | |
* Adding this class to [Retrofit] allows you to write service methods like: | |
* | |
* fun getTokens(): Single<NetworkResponse<AccessToken,Error>> | |
*/ | |
class KotlinRxJava2CallAdapterFactory : CallAdapter.Factory() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android { | |
signingConfigs { | |
release | |
} | |
buildTypes { | |
release { | |
signingConfig signingConfigs.release | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.degordian.common.data.retrofit | |
import android.util.Log | |
import io.reactivex.* | |
import retrofit2.Call | |
import retrofit2.CallAdapter | |
import retrofit2.HttpException | |
import retrofit2.Retrofit | |
import retrofit2.adapter.rxjava2.RxJava2CallAdapterFactory | |
import java.io.IOException |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.dimsuz.lcefilterdelay | |
import io.reactivex.Observable | |
import io.reactivex.ObservableSource | |
import io.reactivex.Observer | |
import io.reactivex.Scheduler | |
import io.reactivex.disposables.Disposable | |
import io.reactivex.exceptions.Exceptions | |
import io.reactivex.internal.disposables.DisposableHelper | |
import io.reactivex.internal.fuseable.SimpleQueue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.IOException; | |
import java.lang.annotation.Annotation; | |
import java.lang.reflect.Type; | |
import io.reactivex.Completable; | |
import io.reactivex.Observable; | |
import io.reactivex.ObservableSource; | |
import io.reactivex.Single; | |
import io.reactivex.SingleSource; | |
import io.reactivex.annotations.NonNull; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import android.content.Context | |
import android.content.SharedPreferences | |
import kotlin.reflect.KProperty | |
/** | |
* Represents a single [SharedPreferences] file. | |
* | |
* Usage: | |
* |
NewerOlder