You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class EditScreen(private val asset: AssetTable, private val categoryAsset: String,
private val typeOfAsset: String
):BasedActivityScreen() {
@Preview
@Composable
override fun previewScreen() {
}
}
abstract class BasedActivityScreen : Screen{
@Composable
override fun Content() {
val navigator = LocalNavigator.currentOrThrow
val sessionState: SessionState = koinInject()
val sessionUiState by sessionState.isLoggedIn.collectAsState()
if (!sessionUiState){
LaunchedEffect(Unit){
delay(3000)
navigator.replace(LoginScreen())
}
}
previewScreen()
}
@Preview
@Composable
open fun previewScreen(){}
}
Error:
Process: com.kloudius.katmaans, PID: 19238
android.os.BadParcelableException: Parcelable encountered IOException writing serializable object (name = com.sample.editScreen)
at android.os.Parcel.writeSerializable(Parcel.java:2807)
at android.os.Parcel.writeValue(Parcel.java:2573)
at android.os.Parcel.writeValue(Parcel.java:2372)
at android.os.Parcel.writeList(Parcel.java:1425)
at android.os.Parcel.writeValue(Parcel.java:2516)
at android.os.Parcel.writeValue(Parcel.java:2372)
at android.os.Parcel.writeList(Parcel.java:1425)
at android.os.Parcel.writeValue(Parcel.java:2516)
at android.os.Parcel.writeValue(Parcel.java:2372)
at android.os.Parcel.writeArrayMapInternal(Parcel.java:1308)
at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1847)
at android.os.Bundle.writeToParcel(Bundle.java:1389)
at android.os.Parcel.writeBundle(Parcel.java:1377)
at android.os.Parcel.writeValue(Parcel.java:2489)
at android.os.Parcel.writeValue(Parcel.java:2379)
at android.os.Parcel.writeArrayMapInternal(Parcel.java:1308)
at android.os.BaseBundle.writeToParcelInner(BaseBundle.java:1847)
at android.os.Bundle.writeToParcel(Bundle.java:1389)
at android.os.Parcel.writeBundle(Parcel.java:1377)
at android.os.Parcel.writeValue(Parcel.java:2489)
at android.os.Parcel.writeValue(Parcel.java:2379)
at android.os.BaseBundle.dumpStats(BaseBundle.java:1921)
at android.os.BaseBundle.dumpStats(BaseBundle.java:1958)
at android.app.servertransaction.PendingTransactionActions$StopInfo.collectBundleStates(PendingTransactionActions.java:123)
at android.app.servertransaction.PendingTransactionActions$StopInfo.run(PendingTransactionActions.java:139)
library use:
voyager = "1.1.0-alpha04"
The text was updated successfully, but these errors were encountered:
sample edit screen:
Error:
library use:
voyager = "1.1.0-alpha04"
The text was updated successfully, but these errors were encountered: