Back to project page groceryhelper.
The source code is released under:
Apache License
If you think the Android project groceryhelper listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.munner.groceryhelper; /* w w w .j av a2 s. c o m*/ import android.os.Parcel; import android.os.Parcelable; public class Item implements Parcelable{ double cost; String category; public Item(double cost, String category) { this.cost = cost; this.category = category; } public String getCategory() { return category; } public double getCost() { return cost; } @Override public int describeContents() { return 0; } @Override public void writeToParcel(Parcel dest, int flags) { dest.writeDouble(cost); dest.writeString(category); } }