use of org.kymjs.blog.ui.SimpleBackActivity in project KJFrameForAndroid by kymjs.
the class NoteEditFragment method initData.
@Override
public void initData() {
Bundle bundle = ((SimpleBackActivity) getActivity()).getBundleData();
if (bundle != null) {
editData = (NotebookData) bundle.getSerializable(NOTE_KEY);
}
kjdb = KJDB.create(outsideAty, true);
if (editData == null) {
editData = new NotebookData();
}
if (StringUtils.isEmpty(editData.getDate())) {
editData.setDate(StringUtils.getDataTime("yyyy/MM/dd"));
}
}
Aggregations