public static void onRestoreState(Bundle bundle,Activity activity){
  if (bundle == null) {
    return;
  }
  Parcelable[] savedArray=bundle.getParcelableArray(BUNDLE_TAG);
  int i=0;
  if (savedArray != null) {
    for (    Parcelable parcelable : savedArray) {
      i++;
      new SuperCardToast(activity,(ReferenceHolder)parcelable,null,i);
    }
  }
}

public static void onRestoreState ( Bundle bundle , Activity activity ) { if ( bundle == null ) { return ; } Parcelable [ ] savedArray = bundle . getParcelableArray ( BUNDLE_TAG ) ; int i = 0 ; if ( savedArray != null ) { for ( Parcelable parcelable : savedArray ) { i ++ ; new SuperCardToast ( activity , ( ReferenceHolder ) parcelable , null , i ) ; } } }
returns and shows pending / shown supercardtoasts from orientation change .
