添加注释

b_branch
ynmlzdwsp 1 year ago
parent 89e24ef6f0
commit 795c5433b3

@ -124,6 +124,9 @@ public class WorkingNote {
loadNote();
}
/**
* IDCursor
*/
private void loadNote() {
Cursor cursor = mContext.getContentResolver().query(
ContentUris.withAppendedId(Notes.CONTENT_NOTE_URI, mNoteId), NOTE_PROJECTION, null,

@ -311,6 +311,7 @@ public class BackupUtils {
/**
* Generate the text file to store imported data
* SD
*/
private static File generateFileMountedOnSDcard(Context context, int filePathResId, int fileNameFormatResId) {
StringBuilder sb = new StringBuilder();

@ -17,6 +17,7 @@
package net.micode.notes.ui;
import android.R.menu;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.Dialog;
@ -158,6 +159,10 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
}
}
/**
* rawSharedPreferences
* PREFERENCE_ADD_INTRODUCTIONtrue
*/
private void setAppInfoFromRawRes() {
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);
if (!sp.getBoolean(PREFERENCE_ADD_INTRODUCTION, false)) {
@ -233,6 +238,9 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
mModeCallBack = new ModeCallback();
}
/**
*ListView
*/
private class ModeCallback implements ListView.MultiChoiceModeListener, OnMenuItemClickListener {
private DropdownMenu mDropDownMenu;
private ActionMode mActionMode;
@ -498,6 +506,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
this.startActivityForResult(intent, REQUEST_CODE_NEW_NODE);
}
@SuppressLint("StaticFieldLeak")
private void batchDelete() {
new AsyncTask<Void, Void, HashSet<AppWidgetAttribute>>() {
protected HashSet<AppWidgetAttribute> doInBackground(Void... unused) {

Loading…
Cancel
Save