This file contains 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
version: 2.1 | |
executors: | |
macos-executor: | |
resource_class: macos.m1.medium.gen1 | |
macos: | |
xcode: 16.1.0 | |
commands: | |
install-java: |
This file contains 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
class OkHttp3IdlingResource( | |
private val name: String, | |
private val dispatcher: Dispatcher | |
) : IdlingResource { | |
private val callbackReference = AtomicReference<ResourceCallback>() | |
init { | |
dispatcher.idleCallback = Runnable { | |
callbackReference.get()?.onTransitionToIdle() |
This file contains 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
102 # keep model classes e.g. kotlin data classes without need of @Keep or @SerializedName annotations | |
103 -keep class com.yourapppackage.app.**.model.** { <fields>; } |
This file contains 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
private void enableStrictMode() { | |
StrictMode.ThreadPolicy.Builder threadPolicyBuilder = new StrictMode.ThreadPolicy.Builder() | |
.detectAll() | |
.penaltyFlashScreen() | |
.penaltyLog(); | |
StrictMode.VmPolicy.Builder vmPolicyBuilder = new StrictMode.VmPolicy.Builder() | |
.detectAll() | |
.penaltyLog(); | |
StrictMode.setThreadPolicy(threadPolicyBuilder.build()); |
This file contains 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.util.Properties | |
android { | |
compileSdkVersion(Config.Android.compileSdkVersion) | |
buildToolsVersion = Config.Android.buildToolsVersion | |
defaultConfig { | |
minSdkVersion(Config.Android.minSdkVersion) | |
versionCode = Config.Libs.versionCode | |
versionName = Config.Libs.versionName |
This file contains 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 kotlinx.coroutines.CoroutineStart.LAZY | |
import kotlinx.coroutines.Deferred | |
import kotlinx.coroutines.async | |
import kotlinx.coroutines.cancelAndJoin | |
import kotlinx.coroutines.coroutineScope | |
import kotlinx.coroutines.sync.Mutex | |
import kotlinx.coroutines.sync.withLock | |
import kotlinx.coroutines.yield | |
import java.util.concurrent.atomic.AtomicReference | |
import kotlin.DeprecationLevel.ERROR |
This file contains 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
/** | |
* View showing rotating SweepGradient. | |
*/ | |
class RotatingGradientView @JvmOverloads constructor( | |
context: Context?, | |
attrs: AttributeSet? = null, | |
defStyleAttr: Int = 0 | |
) : View(context, attrs, defStyleAttr) { | |
private val paint = Paint(Paint.ANTI_ALIAS_FLAG) | |
private var middleX = 0f |
This file contains 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
/* | |
* Copyright (C) 2014 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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
{ | |
"name":"Tomasz", | |
"nationality":"British", | |
"phone":"+447963049108", | |
"email":"[email protected]", | |
"summary":"Talented Lead Android Developer with a proven track record of implementation and leading the development of innovative applications. As a developer, I love clean, self-explanatory code, UI design following platform specific guidelines and providing a smooth user experience. I follow the development of new technologies and regularly participate in local technology meet-ups.", | |
"knowledgeTopics": [ | |
"Android", | |
"Java", | |
"Kotlin", |
NewerOlder