Android初学第28天

笛里谁知壮士心,沙头空照征人骨。这篇文章主要讲述Android初学第28天相关的知识,希望能为你提供帮助。
android初学第28天【Android初学第28天】11_ViewPaper
代码 Crime.java

package com.bignerdranch.android.criminalintent; import java.util.Date; import java.util.UUID; public class Crime {private UUID mId; private String mTitle; private Date mDate; private boolean mSolved; public Crime() { mId = UUID.randomUUID(); mDate = new Date(); }public UUID getId() { return mId; }public String getTitle() { return mTitle; }public void setTitle(String title) { mTitle = title; }public Date getDate() { return mDate; }public void setDate(Date date) { mDate = date; }public boolean isSolved() { return mSolved; }public void setSolved(boolean solved) { mSolved = solved; } }


    推荐阅读