Closed ligbyte closed 9 months ago
ScanResult
is not an interface, but it has fields like this one of type CharSequence
which are the source of the problem. You probably want to write a TypeAdapter
for ScanResult
.
Specifically for CharSequence
see this Stack Overflow answer for how to write a TypeAdapter
for it.
Specifically for
CharSequence
see this Stack Overflow answer for how to write aTypeAdapter
for it.
Thank you so much
Gson version
2.10.1
Java / Android version
Android 13
Used tools
Gradle; version: classpath "com.android.tools.build:gradle:4.2.2"