I hereby claim:
- I am matthewrkula on github.
- I am mattkula (https://keybase.io/mattkula) on keybase.
- I have a public key ASDnxCOi0Yv45vxWfD7mXDVaP1jUGaHHqv7pocJpkheYlAo
To claim this, I am signing this object:
object CancellableScope | |
interface CancellableUseCase { | |
context(CancellableScope) | |
suspend operator fun invoke(): Result | |
} | |
suspend fun <T> Flow<T>.collectLatestSafe(action: suspend context(CancellableScope) (value: T) -> Unit) { | |
collectLatest { item -> | |
with(CancellableScope) { |
data class Grouping( | |
val groups: List<Group>, | |
) | |
data class Group( | |
val standings: List<Standings>, | |
) | |
data class Standings( |
// Variable Heights | |
package com.mattkula.layouts | |
import androidx.compose.animation.core.Animatable | |
import androidx.compose.animation.core.tween | |
import androidx.compose.foundation.background | |
import androidx.compose.foundation.clickable | |
import androidx.compose.foundation.layout.Arrangement | |
import androidx.compose.foundation.layout.Box |
@BindingAdapter("onTextChanged") | |
fun onTextChanged(inputText: InputText, block: (String) -> Unit) { | |
inputText.addTextChangedListener(object : TextWatcher { | |
override fun onTextChanged(CharSequence s, int start, int before, int count) { | |
block(s.toString()) | |
} | |
}) | |
} |
plugins { | |
id 'org.jetbrains.kotlin.jvm' version '1.3.41' | |
} | |
group 'CoroutinesPlayground' | |
version '1.0-SNAPSHOT' | |
repositories { | |
mavenCentral() | |
} |
syntax enable | |
colorscheme elflord | |
set expandtab | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set paste | |
set number | |
let mapleader = "\<Space>" |
push () | |
{ | |
git push -u origin "$(git rev-parse --abbrev-ref HEAD)" | |
} | |
pushf () | |
{ | |
git push -f -u origin "$(git rev-parse --abbrev-ref HEAD)" | |
} | |
function _update_ps1() { |
I hereby claim:
To claim this, I am signing this object:
export FBANDROID_DIR=/Users/mattkula/fbsource/fbandroid | |
alias quicklog_update=/Users/mattkula/fbsource/fbandroid/scripts/quicklog/quicklog_update.sh | |
alias qlu=quicklog_update | |
export EDITOR=vim | |
export PATH="/opt/android_ndk/android-ndk-r10e:$PATH" | |
export PATH="/opt/android_sdk/tools:$PATH" | |
export PATH="/opt/android_sdk/platform-tools:$PATH" | |
export ANDROID_SDK=/opt/android_sdk | |
export ANDROID_HOME=/opt/android_sdk |
public class DetailFragment extends Fragment { | |
// public List<Step> step; | |
public ArrayList < Step > stepList; | |
public Step currentStep; | |
public ExoPlayer mExoPlayer; | |
public SimpleExoPlayerView mPlayerView; | |
public int position; | |
public String videoURL; | |
public Uri videoUri; | |
public TextView textView; |