From 256ba7e6020eec8bf9314d287049ea813dc3f845 Mon Sep 17 00:00:00 2001 From: pluu Date: Wed, 7 Aug 2024 22:41:32 +0900 Subject: [PATCH] =?UTF-8?q?Serializable=20=EC=A0=95=EC=9D=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pluu/webtoon/main/container/ui/CreateSerializableType.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/CreateSerializableType.kt b/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/CreateSerializableType.kt index 295128b4..c44a7b00 100644 --- a/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/CreateSerializableType.kt +++ b/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/CreateSerializableType.kt @@ -1,8 +1,9 @@ package com.pluu.webtoon.main.container.ui import androidx.navigation.NavType +import java.io.Serializable -class SerializableType( +class SerializableType( type: Class, private val parser: (String) -> T ) : NavType.SerializableType(type) {