Code example for Parcel

Methods: writeParcelablewriteStringArray

    public int describeContents() { return 0; } 
    public void writeToParcel(final Parcel dest, final int flags) {
      dest.writeParcelable(intent, flags);
    private void cacheStreams() { 
      this.cachedStreams = intent.getParcelableArrayListExtra(Intent.EXTRA_STREAM);
    /** @return whether this intent has one of send actions */ 
    public boolean isShareIntent() { 
      return isSingleShare() || isMultipleShare(); 
    /** @return whether this intent has action {@link Intent#ACTION_SEND} */ 
    public boolean isSingleShare() { 
      return Intent.ACTION_SEND.equals(intent.getAction());
Connect your IDE to all the code out there  Get Codota for Java