Android初学第22天
Posted HankZhou
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Android初学第22天相关的知识,希望对你有一定的参考价值。
android初学第22天
10_FragmentArguments
代码
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;
}
}
以上是关于Android初学第22天的主要内容,如果未能解决你的问题,请参考以下文章