Android Open Source - generalsbuzz W L Event






From Project

Back to project page generalsbuzz.

License

The source code is released under:

MIT License

If you think the Android project generalsbuzz listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package me.kworden.wlcalendar2.struct;
/* w w  w.  j av  a2s  . c o m*/
import android.os.Parcel;
import android.os.Parcelable;

public class WLEvent implements Parcelable
{
  public WLEventClassifier type = WLEventClassifier.MISC;
  public String title = "", location = "", time = "", info = "", date = "";
  
  public WLEvent()
  {
    super();
  }
  
  @Override
  public int describeContents()
  {
    return 0;
  }

  @Override
  public void writeToParcel(Parcel p_dest, int p_flags)
  {
    p_dest.writeString(title);
    p_dest.writeString(location);
    p_dest.writeString(time);
    p_dest.writeString(info);
    p_dest.writeString(date);
    p_dest.writeInt(type.ordinal());
  }
  
  public static final Parcelable.Creator<WLEvent> CREATOR = new Parcelable.Creator<WLEvent>()
  {
    public WLEvent createFromParcel(Parcel in)
    {
        return new WLEvent(in);
    }
    
    public WLEvent[] newArray(int size)
    {
        return new WLEvent[size];
    }
  };
  
  private WLEvent(Parcel p_in)
  {
    title = p_in.readString();
    location = p_in.readString();
    time = p_in.readString();
    info = p_in.readString();
    date = p_in.readString();
    type = WLEventClassifier.values()[p_in.readInt()];
  }
}




Java Source Code List

me.kworden.wlcalendar2.BuildConfig.java
me.kworden.wlcalendar2.BuildConfig.java
me.kworden.wlcalendar2.MainActivity.java
me.kworden.wlcalendar2.SettingsActivity.java
me.kworden.wlcalendar2.adapter.EventAdapter.java
me.kworden.wlcalendar2.async.CheckLocalDataTask.java
me.kworden.wlcalendar2.async.ParseDataTask.java
me.kworden.wlcalendar2.async.ReadLocalDataTask.java
me.kworden.wlcalendar2.async.RequestRemoteDataTask.java
me.kworden.wlcalendar2.async.StoreDataTask.java
me.kworden.wlcalendar2.fragment.EventDisplayFragment.java
me.kworden.wlcalendar2.fragment.EventInfoFragment.java
me.kworden.wlcalendar2.fragment.SettingsFragment.java
me.kworden.wlcalendar2.receiver.CheckLocalDataReceiver.java
me.kworden.wlcalendar2.receiver.RequestRemoteDataReceiver.java
me.kworden.wlcalendar2.receiver.UpdateRowsReceiver.java
me.kworden.wlcalendar2.struct.MonthYearParcel.java
me.kworden.wlcalendar2.struct.WLEventClassifier.java
me.kworden.wlcalendar2.struct.WLEventLinebreak.java
me.kworden.wlcalendar2.struct.WLEvent.java
me.kworden.wlcalendar2.struct.WLHeader.java
me.kworden.wlcalendar2.util.APP.java
me.kworden.wlcalendar2.util.BROADCAST.java
me.kworden.wlcalendar2.util.MD5.java
me.kworden.wlcalendar2.util.PATTERNS.java
me.kworden.wlcalendar2.util.STATUS.java