The problem is that 0.5 is not using NoteManager.getAllNotes(Activity activity, Boolean includeNotebookTemplates), it is accessing the ListAdapter directly. I've fixed this in my branch:
just by adding the boolean as a variable to the ListAdapter method, and checking for it:
public static ListAdapter getListAdapter(Activity activity, String querys, Boolean includeNotebookTemplates) {
String where = "(" + Note.TAGS + " NOT LIKE '%" + "system:deleted" + "%')";
if (!includeNotebookTemplates) {
where += " AND (" + Note.TAGS + " NOT LIKE '%" + "system:template" + "%')";
}
...
It might be nice to allow this to be toggled in preferences, since some people might like to edit the templates.
The problem is that 0.5 is not using NoteManager. getAllNotes( Activity activity, Boolean includeNotebook Templates) , it is accessing the ListAdapter directly. I've fixed this in my branch:
https:/ /code.launchpad .net/~tomdroid- dev/tomdroid/ note-editing- and-syncing
just by adding the boolean as a variable to the ListAdapter method, and checking for it:
public static ListAdapter getListAdapter( Activity activity, String querys, Boolean includeNotebook Templates) {
String where = "(" + Note.TAGS + " NOT LIKE '%" + "system:deleted" + "%')"; okTemplates) {
if (!includeNotebo
where += " AND (" + Note.TAGS + " NOT LIKE '%" + "system:template" + "%')";
}
...
It might be nice to allow this to be toggled in preferences, since some people might like to edit the templates.