添加了关于widget的注释

pull/7/head
eazzy 11 months ago
parent 0d18ff8129
commit 6169c3f260

@ -31,7 +31,14 @@ import net.micode.notes.data.Notes.NoteColumns;
import net.micode.notes.tool.ResourceParser;
import net.micode.notes.ui.NoteEditActivity;
import net.micode.notes.ui.NotesListActivity;
//定义了一个抽象类,提供便签挂件
/**
* @Package: net.micode.notes.widget
* @ClassName: NoteWidgetProvider
* @Description: MiNote
* @Author: YangYizhe
* @CreateDate: 12/23/2023 11:53 PM
* @Version: 1.0
*/
public abstract class NoteWidgetProvider extends AppWidgetProvider {
public static final String [] PROJECTION = new String [] {
NoteColumns.ID,

@ -23,7 +23,16 @@ import net.micode.notes.R;
import net.micode.notes.data.Notes;
import net.micode.notes.tool.ResourceParser;
/**
* @Package: net.micode.notes.widget
* @ClassName: NoteWidgetProvider_2x
* @Description:
* NoteWidgetProvider2x
* NoteWidgetProvider2xID
* @Author: YangYizhe
* @CreateDate: 12/23/2023 11:55 PM
* @Version: 1.0
*/
public class NoteWidgetProvider_2x extends NoteWidgetProvider {
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {

@ -23,7 +23,16 @@ import net.micode.notes.R;
import net.micode.notes.data.Notes;
import net.micode.notes.tool.ResourceParser;
/**
* @Package: net.micode.notes.widget
* @ClassName: NoteWidgetProvider_4x
* @Description:
* NoteWidgetProvider4x
* NoteWidgetProvider4xID
* @Author: YangYizhe
* @CreateDate: 12/23/2023 11:56 PM
* @Version: 1.0
*/
public class NoteWidgetProvider_4x extends NoteWidgetProvider {
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) {

Loading…
Cancel
Save