This is a simple wrapper View for the new TextInputLayout from Design Library.
Normaly you use the TextInputLayout like this
//region model | |
sealed interface NotesUiModel : UiModel { | |
object Loading : NotesUiModel | |
data class Data( | |
val notes: List<Note>, | |
val events: EventHandler<Event> | |
) : NotesUiModel { | |
data class Note( |
class GraphDetails { | |
LinkedHashSet<Project> projects | |
LinkedHashMap<Tuple2<Project, Project>, List<String>> dependencies | |
ArrayList<Project> multiplatformProjects | |
ArrayList<Project> androidProjects | |
ArrayList<Project> javaProjects | |
ArrayList<Project> rootProjects | |
// Used for excluding module from graph | |
public static final SystemTestName = "system-test" |
class ExoPlayerState( | |
context: Context, | |
private val scope: CoroutineScope | |
) : ExoPlayer by ExoPlayer.Builder(context).build(), Player.Listener { | |
@get:JvmName("playing") | |
var isPlaying by mutableStateOf(false) | |
private set | |
var duration by mutableStateOf(0.seconds) | |
private set | |
var currentPosition by mutableStateOf(0.seconds) |
import androidx.compose.foundation.ExperimentalFoundationApi | |
import androidx.compose.foundation.clipScrollableContainer | |
import androidx.compose.foundation.gestures.Orientation | |
import androidx.compose.foundation.gestures.ScrollableState | |
import androidx.compose.foundation.gestures.scrollable | |
import androidx.compose.foundation.lazy.layout.LazyLayout | |
import androidx.compose.foundation.lazy.layout.LazyLayoutItemProvider | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.getValue | |
import androidx.compose.runtime.mutableStateOf |
import 'dart:ui' as ui; | |
import 'package:flutter/material.dart'; | |
import 'package:flutter/rendering.dart'; | |
import 'package:path_drawing/path_drawing.dart'; | |
class WorldMap extends StatelessWidget { | |
final notifier = ValueNotifier(Offset.zero); | |
@override |
# I use ZSH, here is what I added to my .zshrc file (config file) | |
# at ~/.zshrc | |
# ------------------ Android ------------------ # | |
# Have the adb accessible, by including it in the PATH | |
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:path/to/android_sdk/platform-tools/" | |
# Setup your Android SDK path in ANDROID_HOME variable | |
export ANDROID_HOME=~/sdks/android_sdk |
This is a simple wrapper View for the new TextInputLayout from Design Library.
Normaly you use the TextInputLayout like this
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |
This test rule is now in the 'test-rules' support repository. Use that one!
https://developer.android.com/reference/android/support/test/rule/ActivityTestRule.html
@ECHO OFF | |
@REM Jack is only available from build tools version 21.1.0 and up. Install/Update via SDK Manager | |
SET BUILD_TOOLS_VERSION=21.1.2 | |
java -jar %ANDROID_HOME%/build-tools/%BUILD_TOOLS_VERSION%/jack.jar %1 %2 %3 %4 %5 %6 %7 %8 %9 |