I tried different ways to pass class object using DataMap but its not correct way. Please suggest any way to pass class object from phone to wear.
Asked
Active
Viewed 151 times
2 Answers
0
Since you can pass String you can pass serialized object of your class.
So you can use GSON library for object serialization and deserialization.

Andrey Danilov
- 6,194
- 5
- 32
- 56