Skip to content

Instantly share code, notes, and snippets.

@fredgrott
Created September 22, 2015 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fredgrott/b887fce600e7f9e09a86 to your computer and use it in GitHub Desktop.
Save fredgrott/b887fce600e7f9e09a86 to your computer and use it in GitHub Desktop.
a savable interface for integrating with android lifecycles
package com.grottworkshop.gwsbase;
import android.os.Bundle;
/**
* BaseSaveable interface
* Created by fgrott on 9/21/2015.
*/
@SuppressWarnings("unused")
public interface BaseSaveable {
void saveInstanceState(Bundle bundle);
void restoreInstanceState(Bundle bundle);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment