Files
FairEmail/app/src/main/java/eu/faircode/email/EntityOrder.java

35 lines
1.0 KiB
Java
Raw Normal View History

2019-05-01 07:58:45 +02:00
package eu.faircode.email;
/*
This file is part of FairEmail.
FairEmail is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FairEmail is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FairEmail. If not, see <http://www.gnu.org/licenses/>.
Copyright 2018-2019 by Marcel Bokhorst (M66B)
*/
import android.content.Context;
2019-05-06 22:34:18 +02:00
import java.util.Comparator;
2019-05-01 07:58:45 +02:00
public abstract class EntityOrder {
public Integer order;
abstract Long getSortId();
2019-05-01 13:08:15 +02:00
abstract String[] getSortTitle(Context context);
2019-05-06 22:34:18 +02:00
abstract Comparator getComparator(Context context);
2019-05-01 07:58:45 +02:00
}