Workaround for using inline class with Parcelize

This commit is contained in:
Mygod
2020-06-05 13:17:52 -04:00
parent df136151e3
commit 195133e782
3 changed files with 14 additions and 7 deletions

View File

@@ -10,8 +10,7 @@ import java.nio.ByteOrder
/**
* Compat support class for [MacAddress].
*/
@Parcelize
inline class MacAddressCompat(val addr: Long) : Parcelable {
inline class MacAddressCompat(val addr: Long) {
companion object {
private const val ETHER_ADDR_LEN = 6
/**