json - Passing complex objects to file in android -
It is a thought that I want to give an example of buttons / editing text / text view / class / etc. And save it to a file in Android then try removing it to relive the next time.
Is it possible to do this?
I've tried
- Be able to be serialized, but realized that those items are transient Can not be done without declaring as that which is not affected
- Parcelable, same problem
- JSONObject, the object could not be brought in a button / layout / etc .
- GSOn, found an infinite recursive loop
Please, have any help available?
You can use UI elements such as buttons
or layout
Should never be sorted. Instead save the data behind the UI, such as text, maybe some flags etc.
I recommend using it for
Comments
Post a Comment