public class AndroidSerializationInstantiator<T> extends java.lang.Object implements ObjectInstantiator<T>
ObjectInstantiator
for Android which creates objects using the constructor from the first
non-serializable parent class constructor, using internal methods on the Dalvik implementation of
ObjectStreamClass
.Constructor and Description |
---|
AndroidSerializationInstantiator(java.lang.Class<T> type) |
Modifier and Type | Method and Description |
---|---|
T |
newInstance()
Returns a new instance of an object.
|
public AndroidSerializationInstantiator(java.lang.Class<T> type)
public T newInstance()
ObjectInstantiator
newInstance
in interface ObjectInstantiator<T>