Code, der Probleme verursacht (wahrscheinlich, nicht sicher)
Code: Select all
@Composable
fun PINTextField(
value: String,
onValueChange: (String) -> Unit,
pinLength: Int,
allowedCharacters: (Char) -> Boolean,
modifier: Modifier = Modifier,
hint: String? = null,
enabled: Boolean = true,
errorText: String? = null,
boxSize: Dp = 40.dp,
boxSpacing: Dp = 12.dp,
backgroundColor: Color = Theme.colors.surface,
borderColor: Color = Theme.colors.border,
focusedBorderColor: Color = Theme.colors.primary,
errorColor: Color = Theme.colors.error,
textColor: Color = Theme.colors.onBackground,
cornerRadius: Dp = 14.dp,
borderWidth: Dp = 2.dp
) {
var textFieldValue by remember {
mutableStateOf(TextFieldValue(value, TextRange(value.length)))
}
var isFocused by remember { mutableStateOf(false) }
LaunchedEffect(value) {
if (textFieldValue.text != value) {
textFieldValue = TextFieldValue(value.toUpperCase(Locale.current), TextRange(value.length))
}
}
Column(
modifier = modifier,
horizontalAlignment = Alignment.CenterHorizontally
) {
if (hint != null) {
Text(
text = hint,
style = Theme.typography.hint(),
color = Theme.colors.onBackground,
fontWeight = FontWeight.Medium
)
Height(8.dp)
}
BasicTextField(
value = textFieldValue,
onValueChange = { newValue ->
if (newValue.text.length
isFocused = focusState.isFocused
},
enabled = enabled,
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Text),
singleLine = true,
textStyle = TextStyle(color = Color.Transparent), // Hide the actual text
decorationBox = { _ ->
Row(
horizontalArrangement = Arrangement.spacedBy(boxSpacing),
verticalAlignment = Alignment.CenterVertically
) {
repeat(pinLength) { index ->
val currentFieldFocused = textFieldValue.selection.start == index && isFocused
val hasChar = index < value.length
val char = if (hasChar) value[index].toString() else ""
val currentBorderColor = when {
errorText != null -> errorColor
!enabled -> borderColor
currentFieldFocused -> focusedBorderColor
hasChar -> focusedBorderColor
else -> borderColor
}
Box(
modifier = Modifier
.size(boxSize)
.clip(RoundedCornerShape(cornerRadius))
.background(backgroundColor)
.border(
borderWidth,
currentBorderColor,
RoundedCornerShape(cornerRadius)
),
contentAlignment = Alignment.Center
) {
Text(
text = char,
style = Theme.typography.body1(),
color = textColor,
fontSize = 16.sp,
fontWeight = FontWeight.Medium
)
}
}
}
}
)
if (errorText != null) {
Height(8.dp)
Text(
text = errorText,
style = Theme.typography.body2(),
color = Theme.colors.error,
fontSize = 14.sp
)
}
}
}
Code: Select all
Fatal Exception: java.lang.IllegalStateException: R e q u i r e d v a l u e w a s n u l l . < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . i n t e r n a l . I n l i n e C l a s s H e l p e r K t . t h r o w I l l e g a l S t a t e E x c e p t i o n F o r N u l l C h e c k ( I n l i n e C l a s s H e l p e r . k t : 3 0 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . i n t e r n a l . I n l i n e C l a s s H e l p e r K t . c h e c k P r e c o n d i t i o n N o t N u l l ( I n l i n e C l a s s H e l p e r . k t : 8 6 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r . _ g e t _ c o n t e x t M e n u A r e a M o d i f i e r _ $ l a m b d a $ 1 ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 2 3 3 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . m o d i f i e r . T e x t C o n t e x t M e n u T o o l b a r H a n d l e r N o d e . c o n t e n t B o u n d s ( T e x t C o n t e x t M e n u T o o l b a r H a n d l e r M o d i f i e r . k t : 2 0 4 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . c a l c u l a t e B o u n d s I n R o o t ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 2 3 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . o b s e r v e A n d G e t B o u n d s $ l a m b d a $ 7 ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 1 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . o b s e r v e R e a d s A n d G e t $ l a m b d a $ 8 ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 3 7 ) < b r / > a t a n d r o i d x . c o m p o s e . r u n t i m e . s n a p s h o t s . S n a p s h o t . e n t e r ( S n a p s h o t . j a v a : 1 5 1 ) < b r / > a t a n d r o i d x . c o m p o s e . r u n t i m e . s n a p s h o t s . S n a p s h o t $ C o m p a n i o n . o b s e r v e ( S n a p s h o t . k t : 5 2 8 ) < b r / > a t a n d r o i d x . c o m p o s e . r u n t i m e . s n a p s h o t s . S n a p s h o t S t a t e O b s e r v e r $ O b s e r v e d S c o p e M a p . o b s e r v e ( S n a p s h o t S t a t e O b s e r v e r . k t : 4 6 4 ) < b r / > a t a n d r o i d x . c o m p o s e . r u n t i m e . s n a p s h o t s . S n a p s h o t S t a t e O b s e r v e r . o b s e r v e R e a d s ( S n a p s h o t S t a t e O b s e r v e r . k t : 2 4 8 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . o b s e r v e R e a d s A n d G e t $ l a m b d a $ 8 ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 3 7 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . o b s e r v e R e a d s A n d G e t ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 3 7 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . o b s e r v e A n d G e t B o u n d s $ l a m b d a $ 7 ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 1 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . o b s e r v e A n d G e t B o u n d s ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 1 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . c r e a t e A c t i o n M o d e C a l l b a c k $ l a m b d a $ 5 ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 0 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r $ T e x t A c t i o n M o d e C a l l b a c k I m p l . o n G e t C o n t e n t R e c t ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 4 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . F l o a t i n g T e x t A c t i o n M o d e C a l l b a c k . o n G e t C o n t e n t R e c t ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 3 9 8 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . p o l i c y . D e c o r V i e w $ A c t i o n M o d e C a l l b a c k 2 W r a p p e r . o n G e t C o n t e n t R e c t ( D e c o r V i e w . j a v a : 2 9 6 6 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . v i e w . F l o a t i n g A c t i o n M o d e . i n v a l i d a t e C o n t e n t R e c t ( F l o a t i n g A c t i o n M o d e . j a v a : 1 5 4 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . v i e w . F l o a t i n g A c t i o n M o d e . i n v a l i d a t e ( F l o a t i n g A c t i o n M o d e . j a v a : 1 4 9 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . p o l i c y . D e c o r V i e w . s e t H a n d l e d F l o a t i n g A c t i o n M o d e ( D e c o r V i e w . j a v a : 2 1 8 1 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . p o l i c y . D e c o r V i e w . s e t H a n d l e d A c t i o n M o d e ( D e c o r V i e w . j a v a : 2 0 2 1 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . p o l i c y . D e c o r V i e w . s t a r t A c t i o n M o d e ( D e c o r V i e w . j a v a : 9 4 0 ) < b r / > a t c o m . a n d r o i d . i n t e r n a l . p o l i c y . D e c o r V i e w . s t a r t A c t i o n M o d e F o r C h i l d ( D e c o r V i e w . j a v a : 8 9 5 ) < b r / > a t a n d r o i d . v i e w . V i e w G r o u p . s t a r t A c t i o n M o d e F o r C h i l d ( V i e w G r o u p . j a v a : 1 0 4 4 ) < b r / > a t a n d r o i d . v i e w . V i e w G r o u p . s t a r t A c t i o n M o d e F o r C h i l d ( V i e w G r o u p . j a v a : 1 0 4 4 ) < b r / > a t a n d r o i d . v i e w . V i e w G r o u p . s t a r t A c t i o n M o d e F o r C h i l d ( V i e w G r o u p . j a v a : 1 0 4 4 ) < b r / > a t a n d r o i d . v i e w . V i e w . s t a r t A c t i o n M o d e ( V i e w . j a v a : 7 8 8 2 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . T e x t T o o l b a r H e l p e r A p i 2 3 . s t a r t A c t i o n M o d e ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 3 5 0 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . T e x t T o o l b a r H e l p e r . s t a r t A c t i o n M o d e ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 3 2 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r $ s h o w T e x t C o n t e x t M e n u $ 2 . i n v o k e S u s p e n d ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 1 7 6 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r $ s h o w T e x t C o n t e x t M e n u $ 2 . i n v o k e ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 2 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r $ s h o w T e x t C o n t e x t M e n u $ 2 . i n v o k e ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 1 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . M u t a t o r M u t e x $ m u t a t e $ 2 . i n v o k e S u s p e n d ( M u t a t o r M u t e x . k t : 1 2 7 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . M u t a t o r M u t e x $ m u t a t e $ 2 . i n v o k e ( M u t a t o r M u t e x . k t : 2 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . M u t a t o r M u t e x $ m u t a t e $ 2 . i n v o k e ( M u t a t o r M u t e x . k t : 1 ) < b r / > a t k o t l i n x . c o r o u t i n e s . i n t r i n s i c s . U n d i s p a t c h e d K t . s t a r t U n d s p a t c h e d ( U n d i s p a t c h e d . k t : 6 6 ) < b r / > a t k o t l i n x . c o r o u t i n e s . i n t r i n s i c s . U n d i s p a t c h e d K t . s t a r t U n d i s p a t c h e d O r R e t u r n ( U n d i s p a t c h e d . k t : 4 3 ) < b r / > a t k o t l i n x . c o r o u t i n e s . C o r o u t i n e S c o p e K t . c o r o u t i n e S c o p e ( C o r o u t i n e S c o p e . k t : 2 8 6 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . M u t a t o r M u t e x . m u t a t e ( M u t a t o r M u t e x . k t : 1 2 0 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . M u t a t o r M u t e x . m u t a t e $ d e f a u l t ( M u t a t o r M u t e x . k t : 1 1 7 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . i n t e r n a l . A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . s h o w T e x t C o n t e x t M e n u ( A n d r o i d T e x t C o n t e x t M e n u T o o l b a r P r o v i d e r . a n d r o i d . k t : 1 5 6 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . m o d i f i e r . T e x t C o n t e x t M e n u T o o l b a r H a n d l e r N o d e $ s h o w $ 1 . i n v o k e S u s p e n d ( T e x t C o n t e x t M e n u T o o l b a r H a n d l e r M o d i f i e r . k t : 1 8 3 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . m o d i f i e r . T e x t C o n t e x t M e n u T o o l b a r H a n d l e r N o d e $ s h o w $ 1 . i n v o k e ( T e x t C o n t e x t M e n u T o o l b a r H a n d l e r M o d i f i e r . k t : 2 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . m o d i f i e r . T e x t C o n t e x t M e n u T o o l b a r H a n d l e r N o d e $ s h o w $ 1 . i n v o k e ( T e x t C o n t e x t M e n u T o o l b a r H a n d l e r M o d i f i e r . k t : 1 ) < b r / > a t k o t l i n x . c o r o u t i n e s . i n t r i n s i c s . U n d i s p a t c h e d K t . s t a r t C o r o u t i n e U n d i s p a t c h e d ( U n d i s p a t c h e d . k t : 2 0 ) < b r / > a t k o t l i n x . c o r o u t i n e s . C o r o u t i n e S t a r t . i n v o k e ( C o r o u t i n e S t a r t . k t : 3 6 0 ) < b r / > a t k o t l i n x . c o r o u t i n e s . A b s t r a c t C o r o u t i n e . s t a r t ( A b s t r a c t C o r o u t i n e . k t : 1 3 4 ) < b r / > a t k o t l i n x . c o r o u t i n e s . B u i l d e r s K t _ _ B u i l d e r s _ c o m m o n K t . l a u n c h ( B u i l d e r s . c o m m o n . k t : 5 3 ) < b r / > a t k o t l i n x . c o r o u t i n e s . B u i l d e r s K t . l a u n c h ( B u i l d e r s . k t : 1 ) < b r / > a t k o t l i n x . c o r o u t i n e s . B u i l d e r s K t _ _ B u i l d e r s _ c o m m o n K t . l a u n c h $ d e f a u l t ( B u i l d e r s . c o m m o n . k t : 4 4 ) < b r / > a t k o t l i n x . c o r o u t i n e s . B u i l d e r s K t . l a u n c h $ d e f a u l t ( B u i l d e r s . k t : 1 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . m o d i f i e r . T e x t C o n t e x t M e n u T o o l b a r H a n d l e r N o d e . s h o w ( T e x t C o n t e x t M e n u T o o l b a r H a n d l e r M o d i f i e r . k t : 1 8 0 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . c o n t e x t m e n u . m o d i f i e r . T o o l b a r R e q u e s t e r I m p l . s h o w ( T e x t C o n t e x t M e n u T o o l b a r H a n d l e r M o d i f i e r . k t : 6 8 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r . s h o w S e l e c t i o n T o o l b a r $ f o u n d a t i o n _ r e l e a s e ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 9 5 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r . u p d a t e F l o a t i n g T o o l b a r ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 9 4 9 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r . a c c e s s $ g e t D r a g B e g i n S e l e c t i o n $ p ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 8 3 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r . a c c e s s $ u p d a t e F l o a t i n g T o o l b a r ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 8 3 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r $ t o u c h S e l e c t i o n O b s e r v e r $ 1 . o n E n d ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 3 9 8 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . T e x t F i e l d S e l e c t i o n M a n a g e r $ t o u c h S e l e c t i o n O b s e r v e r $ 1 . o n S t o p ( T e x t F i e l d S e l e c t i o n M a n a g e r . k t : 3 9 1 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . S e l e c t i o n G e s t u r e s K t . t o u c h S e l e c t i o n ( S e l e c t i o n G e s t u r e s . k t : 1 3 7 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . S e l e c t i o n G e s t u r e s K t . a c c e s s $ t o u c h S e l e c t i o n S u b s e q u e n t P r e s s ( S e l e c t i o n G e s t u r e s . k t : 1 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . S e l e c t i o n G e s t u r e s K t . a c c e s s $ t o u c h S e l e c t i o n ( S e l e c t i o n G e s t u r e s . k t : 1 ) < b r / > a t a n d r o i d x . c o m p o s e . f o u n d a t i o n . t e x t . s e l e c t i o n . S e l e c t i o n G e s t u r e s K t $ t o u c h S e l e c t i o n $ 1 . i n v o k e S u s p e n d ( S e l e c t i o n G e s t u r e s . k t : 1 1 ) < b r / > a t k o t l i n . c o r o u t i n e s . j v m . i n t e r n a l . B a s e C o n t i n u a t i o n I m p l . r e s u m e W i t h ( C o n t i n u a t i o n I m p l . k t : 3 4 ) < b r / > a t k o t l i n x . c o r o u t i n e s . D i s p a t c h e d T a s k K t . r e s u m e ( D i s p a t c h e d T a s k . k t : 1 6 3 ) < b r / > a t k o t l i n x . c o r o u t i n e s . D i s p a t c h e d T a s k K t . d i s p a t c h ( D i s p a t c h e d T a s k . k t : 1 5 2 ) < b r / > a t k o t l i n x . c o r o u t i n e s . C a n c e l l a b l e C o n t i n u a t i o n I m p l . d i s p a t c h R e s u m e ( C a n c e l l a b l e C o n t i n u a t i o n I m p l . k t : 4 7 0 ) < b r / > a t k o t l i n x . c o r o u t i n e s . C a n c e l l a b l e C o n t i n u a t i o n I m p l . r e s u m e I m p l $ k o t l i n x _ c o r o u t i n e s _ c o r e ( C a n c e l l a b l e C o n t i n u a t i o n I m p l . k t : 5 0 4 ) < b r / > a t k o t l i n x . c o r o u t i n e s . C a n c e l l a b l e C o n t i n u a t i o n I m p l . r e s u m e I m p l $ k o t l i n x _ c o r o u t i n e s _ c o r e $ d e f a u l t ( C a n c e l l a b l e C o n t i n u a t i o n I m p l . k t : 4 9 3 ) < b r / > a t k o t l i n x . c o r o u t i n e s . C a n c e l l a b l e C o n t i n u a t i o n I m p l . r e s u m e W i t h ( C a n c e l l a b l e C o n t i n u a t i o n I m p l . k t : 3 5 9 ) < b r / > a t a n d r o i d x . c o m p o s e . u i . i n p u t . p o i n t e r . S u s p e n d i n g P o i n t e r I n p u t M o d i f i e r N o d e I m p l $ P o i n t e r E v e n t H a n d l e r C o r o u t i n e . o f f e r P o i n t e r E v e n t ( S u s p e n d i n g P o i n t e r I n p u t F i l t e r . k t : 8 2 9 ) < b r / > a t a n d r o i d x . c o m p o s e . u i . i n p u t . p o i n t e r . S u s p e n d i n g P o i n t e r I n p u t M o d i f i e r N o d e I m p l . d i s p a t c h P o i n t e r E v e n t ( S u s p e n d i n g P o i n t e r I n p u t F i l t e r . k t : 6 9 9 ) < b r / > a t a n d r o i d x . c o m p o s e . u i . i n p u t . p o i n t e r . S u s p e n d i n g P o i n t e r I n p u t M o d i f i e r N o d e I m p l . o n P o i n t e r E v e n t - H 0 p R u o Y ( S u s p e n d i n g P o i n t e r I n p u t F i l t e r . k t : 7 2 5 ) < b r / > a t a n d r o i d x . c o m p o s e . u i . i n p u t . p o i n t e r . N o d e.dispatchMainEventPass(HitPathTracker.kt:436)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:422)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:422)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:422)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:422)
at androidx.compose.ui.input.pointer.Node.dispatchMainEventPass(HitPathTracker.kt:422)
at androidx.compose.ui.input.pointer.NodeParent.dispatchMainEventPass(HitPathTracker.kt:275)
at androidx.compose.ui.input.pointer.HitPathTracker.dispatchChanges(HitPathTracker.kt:171)
at androidx.compose.ui.input.pointer.PointerInputEventProcessor.process-BIzXfog(PointerInputEventProcessor.kt:118)
at androidx.compose.ui.platform.AndroidComposeView.sendMotionEvent-8iAsVTc(AndroidComposeView.android.kt:2428)
at androidx.compose.ui.platform.AndroidComposeView.handleMotionEvent-8iAsVTc(AndroidComposeView.android.kt:2378)
at androidx.compose.ui.platform.AndroidComposeView.dispatchTouchEvent(AndroidComposeView.android.kt:2249)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3201)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2844)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3201)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2844)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3201)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2844)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3201)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2844)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:510)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1968)
at android.app.Activity.dispatchTouchEvent(Activity.java:4414)
at curtains.internal.WindowCallbackWrapper$dispatchTouchEvent$dispatch$1.invoke(WindowCallbackWrapper.kt:58)
at curtains.internal.WindowCallbackWrapper$dispatchTouchEvent$dispatch$1.invoke(WindowCallbackWrapper.kt:52)
at com.posthog.android.replay.PostHogReplayIntegration.onTouchEventListener$lambda$7(PostHogReplayIntegration.kt:240)
at curtains.internal.WindowCallbackWrapper.dispatchTouchEvent(WindowCallbackWrapper.kt:65)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:468)
at android.view.View.dispatchPointerEvent(View.java:15985)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:7468)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:7243)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6653)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6710)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6676)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6841)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6684)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6898)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6657)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:6710)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:6676)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:6684)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:6657)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:9787)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:9734)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:9676)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9938)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:272)
at android.os.MessageQueue.nativePollOnce(MessageQueue.java)
at android.os.MessageQueue.next(MessageQueue.java:335)
at android.os.Looper.loopOnce(Looper.java:194)
at android.os.Looper.loop(Looper.java:338)
at android.app.ActivityThread.main(ActivityThread.java:8470)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:600)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1064)
Mobile version