mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-12-06 00:32:32 -08:00
Implement sorting menu option.
This commit is contained in:
1 parent
80b8dba6b8
commit
905f5b9bb7
23 files changed
+188
-184
No files matched your search
@@ -19,12 +19,21 @@
|
||||
*/
|
||||
package com.keepassdroid.database;
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.Date;
|
||||
import java.util.UUID;
|
||||
|
||||
public abstract class PwEntry implements Cloneable {
|
||||
|
||||
// TODO none of these belong here. They aren't stored this way in PwEntryV4
|
||||
public static class EntryNameComparator implements Comparator<PwEntry> {
|
||||
|
||||
@Override
|
||||
public int compare(PwEntry object1, PwEntry object2) {
|
||||
return object1.getTitle().compareToIgnoreCase(object2.getTitle());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int imageId;
|
||||
|
||||
|
||||
Reference in new issue
Block a user