AndroidEdit
?????? Markdown????????
####EditText?????????? #####??
- ???
- compile 'ren.qinc.edit:lib:0.0.5'
- ???
mEditText = ((EditText) findViewById(R.id.editText));
//??PerformEdit??????????EditText
mPerformEdit = new PerformEdit(mEditText);
mPerformEdit.setDefaultText("?????,??????");
- ?????
//?? mPerformEdit.undo();
//??
mPerformEdit.redo();
//????
mPerformEdit.clearHistory();