-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Primitive 타입과 List 인
lectureName: String, List<studentGradeList>
의 경우
savedStateHandle.toRoute<Route.Detail>.lectureName
savedStateHandle.toRoute<Route.Detail>.studentGradeList
로 코드를 변경하여 상수(savedStateHandle 의 key) 를 사용하지 않아도 정상 동작하나,
Custom Data Class 와 List 인
lecture: Lecture
, List<student>: List<Student>
의 경우
savedStateHandle.toRoute<Route.Detail>.lecture
savedStateHandle.toRoute<Route.Detail>.studentList
로 코드를 변경 할 경우
Process: com.yijihun.navigationparcelableargumentexample, PID: 25273
java.lang.IllegalArgumentException: Route com.yijihun.navigationparcelableargumentexample.Route.Detail could not find any NavType for argument lecture of type com.yijihun.navigationparcelableargumentexample.model.Lecture - typeMap received was {}
다음과 같은 에러가 발생함...
NavType 정의해줬는데.. 뭐가 문제인 것인가
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working