Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
package com.example.compose_debug | |
import androidx.compose.animation.EnterTransition | |
import androidx.compose.animation.ExitTransition | |
import androidx.compose.animation.core.CubicBezierEasing | |
import androidx.compose.animation.core.Easing | |
import androidx.compose.animation.core.FastOutLinearInEasing | |
import androidx.compose.animation.core.FastOutSlowInEasing | |
import androidx.compose.animation.core.LinearOutSlowInEasing | |
import androidx.compose.animation.core.PathEasing |
import androidx.compose.foundation.text.selection.SelectionContainer | |
import androidx.compose.material.LocalContentAlpha | |
import androidx.compose.material.LocalContentColor | |
import androidx.compose.material.LocalTextStyle | |
import androidx.compose.material.Text | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.remember | |
import androidx.compose.ui.Modifier | |
import androidx.compose.ui.draw.drawBehind | |
import androidx.compose.ui.graphics.Color |
import android.annotation.SuppressLint | |
import androidx.compose.animation.animateColor | |
import androidx.compose.animation.core.Animatable | |
import androidx.compose.animation.core.AnimationVector1D | |
import androidx.compose.animation.core.LinearEasing | |
import androidx.compose.animation.core.tween | |
import androidx.compose.animation.core.updateTransition | |
import androidx.compose.foundation.Image | |
import androidx.compose.foundation.gestures.detectTapGestures | |
import androidx.compose.foundation.layout.fillMaxSize |
package com.a.b | |
import android.content.Context | |
import androidx.annotation.GuardedBy | |
import androidx.datastore.core.ReadScope | |
import androidx.datastore.core.Serializer | |
import androidx.datastore.core.Storage | |
import androidx.datastore.core.StorageConnection | |
import androidx.datastore.core.WriteScope | |
import androidx.datastore.core.use |
import android.content.Intent | |
import android.graphics.PixelFormat | |
import android.os.IBinder | |
import android.view.Gravity | |
import android.view.WindowManager | |
import androidx.compose.foundation.gestures.detectDragGestures | |
import androidx.compose.foundation.layout.Box | |
import androidx.compose.foundation.layout.BoxScope | |
import androidx.compose.runtime.Composable | |
import androidx.compose.runtime.getValue |
// Extension for Activity | |
fun Activity.showAsBottomSheet(content: @Composable (() -> Unit) -> Unit) { | |
val viewGroup = this.findViewById(android.R.id.content) as ViewGroup | |
addContentToView(viewGroup, content) | |
} | |
// Extension for Fragment | |
fun Fragment.showAsBottomSheet(content: @Composable (() -> Unit) -> Unit) { | |
val viewGroup = requireActivity().findViewById(android.R.id.content) as ViewGroup | |
addContentToView(viewGroup, content) |
The code below renders the following text in both Android Views and in Jetpack Compose UI.
Contact our team on 555 555 555 Opt 3 to activate.