This file contains hidden or 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
10:06:37.155 1009 Mobile...sitory com.android.settings D onAvailableSubInfoChanged, duplicates = [ {SubscriptionInfoEntity(subId = 1, simSlotIndex = -1, carrierId = 1, displayName = T-Mobile, carrierName = No service, dataRoaming = 1, mcc = 310, mnc = 260, countryIso = us, isEmbedded = false, cardId = 0, portIndex = 0, isOpportunistic = false, groupUUID = null, subscriptionType = 0, uniqueName = T-Mobile, isSubscriptionVisible = true, formattedPhoneNumber = +1 555-123-4567, isFirstRemovableSubscription = true, isDefaultSubscriptionSelection = false, isValidSubscription = true, isUsableSubscription = true, isActiveSubscriptionId = false, isAvailableSubscription = true, isActiveDataSubscriptionId = false)}] | |
10:06:37.155 1009 Subscr...sitory com.android.settings D getSelectableSubscriptionInfoList: [[SubscriptionInfo: id=1 iccId=89860318640220133897 simSlotIndex=-1 portIndex=0 isEmbedded=false carrierId=1 displayName=T-Mobile carrierName=No service isOpportunistic=false groupUuid=null groupOwner= isGroupDi |
This file contains hidden or 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
// File: Skeleton.kt | |
@Composable | |
fun Skeleton( | |
modifier: Modifier = Modifier, | |
shape: Shape, | |
backgroundColor: Color = SkeletonTokens.BackgroundColor.toColor(), | |
contentColor: Color = SkeletonTokens.ContentColor.toColor(), | |
maxAlpha: Float = SkeletonTokens.MaxAlpha, | |
initialDelay: Int = 0, | |
animationSpec: InfiniteRepeatableSpec<Float> = if (initialDelay == 0) { |
This file contains hidden or 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
package dev.evowizz.tooltip | |
import android.widget.Toast | |
import androidx.compose.animation.core.EaseIn | |
import androidx.compose.animation.core.EaseOut | |
import androidx.compose.animation.core.MutableTransitionState | |
import androidx.compose.animation.core.animateFloat | |
import androidx.compose.animation.core.tween | |
import androidx.compose.animation.core.updateTransition | |
import androidx.compose.foundation.clickable |
This file contains hidden or 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 OpenPhotoPickerContract: ActivityResultContract<PhotoPickerOptions, List<Uri>>() { | |
override fun createIntent(context: Context, input: PhotoPickerOptions): Intent { | |
require(input.number >= 1) { error("Number needs to be above 1")} | |
return Intent("android.provider.action.PICK_IMAGES").apply { | |
if (input.number > 1) putExtra("android.provider.extra.PICK_IMAGES_MAX", input.number) | |
if (input.type != PhotoPickerOptions.Type.BOTH) type = input.type.mimeType | |
} | |
} |