Search code examples
androidiosviewnskeyedarchiver

Android equivalent for KeyedArchiver like Ios


In Ios UIKit we have

let vyuDataVar = NSKeyedArchiver.archivedDataWithRootObject(namVccVar.view)

which helps in converting entire view and all subviews as data and can be stored anywhere and we can retrieve our View back even after app closes.

What is the equivalent for this in android to convert entire activities view and store?


Solution

  • There is nothing like this in Android, sorry.