|
|
|
@ -150,7 +150,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
|
|
|
|
@Override
|
|
|
|
|
/**
|
|
|
|
|
* @method onActivityResult
|
|
|
|
|
* @description: 返回一些子模块完成的数据交给主Activity处理
|
|
|
|
|
* @description:
|
|
|
|
|
* 参数:
|
|
|
|
|
* requestCode:
|
|
|
|
|
* resultCode:
|
|
|
|
@ -161,7 +161,6 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
|
|
|
|
* @return void
|
|
|
|
|
*/
|
|
|
|
|
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
|
|
|
|
|
// 结果值 和 要求值 符合要求
|
|
|
|
|
if (resultCode == RESULT_OK
|
|
|
|
|
&& (requestCode == REQUEST_CODE_OPEN_NODE || requestCode == REQUEST_CODE_NEW_NODE)) {
|
|
|
|
|
mNotesListAdapter.changeCursor(null);
|
|
|
|
@ -804,9 +803,13 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
|
|
|
|
sendBroadcast(intent);
|
|
|
|
|
setResult(RESULT_OK, intent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 声明监听器,建立菜单,包括名称,视图,删除操作,更改名称操作;
|
|
|
|
|
* @method OnCreateContextMenuListener
|
|
|
|
|
* @description: 生成便签初始界面
|
|
|
|
|
* @date: 2023/12/21 1:16
|
|
|
|
|
* @author: WUSHUXIAN
|
|
|
|
|
* @param
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
private final OnCreateContextMenuListener mFolderOnCreateContextMenuListener = new OnCreateContextMenuListener() {
|
|
|
|
|
public void onCreateContextMenu(ContextMenu menu, View v, ContextMenuInfo menuInfo) {
|
|
|
|
|