| 日時: | 2017-07-21 |
|---|---|
| 作: | @voluntas |
| バージョン: | 0.6.0 |
| URL: | https://voluntas.githu.io/ |
突っ込みは Twitter @voluntas まで。
| import androidx.compose.material.TextField | |
| import androidx.compose.runtime.Composable | |
| import androidx.compose.runtime.LaunchedEffect | |
| import androidx.compose.runtime.MutableState | |
| import androidx.compose.runtime.getValue | |
| import androidx.compose.runtime.mutableStateOf | |
| import androidx.compose.runtime.remember | |
| import androidx.compose.runtime.setValue | |
| import androidx.compose.ui.text.AnnotatedString | |
| import androidx.compose.ui.text.input.OffsetMapping |
| /* | |
| MIT License | |
| Copyright (c) 2021 Tomachi | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
| import android.os.Bundle | |
| import androidx.lifecycle.Lifecycle | |
| import androidx.lifecycle.LifecycleRegistry | |
| import androidx.savedstate.SavedStateRegistry | |
| import androidx.savedstate.SavedStateRegistryController | |
| import androidx.savedstate.SavedStateRegistryOwner | |
| internal class MyLifecycleOwner : SavedStateRegistryOwner { | |
| private var mLifecycleRegistry: LifecycleRegistry = LifecycleRegistry(this) | |
| private var mSavedStateRegistryController: SavedStateRegistryController = SavedStateRegistryController.create(this) |
| 日時: | 2017-07-21 |
|---|---|
| 作: | @voluntas |
| バージョン: | 0.6.0 |
| URL: | https://voluntas.githu.io/ |
突っ込みは Twitter @voluntas まで。
| import java.util.ArrayList; | |
| import com.bumptech.glide.GenericRequestBuilder; | |
| import com.bumptech.glide.Glide; | |
| import com.bumptech.glide.request.animation.GlideAnimation; | |
| import com.bumptech.glide.request.target.SimpleTarget; | |
| import com.bumptech.glide.request.target.Target; | |
| import android.content.Context; |