fixed build error

This commit is contained in:
Mariotaku Lee 2016-12-11 17:02:11 +08:00
parent 27e0d66343
commit 67ffc5cc64
3 changed files with 2 additions and 54 deletions

View File

@ -35,8 +35,8 @@ android {
applicationId "org.mariotaku.twidere"
minSdkVersion 14
targetSdkVersion 25
versionCode 229
versionName '3.3.11'
versionCode 230
versionName '3.3.12'
multiDexEnabled true
buildConfigField 'boolean', 'LEAK_CANARY_ENABLED', 'Boolean.parseBoolean("true")'

View File

@ -1,52 +0,0 @@
/*
* Twidere - Twitter client for Android
*
* Copyright (C) 2012-2014 Mariotaku Lee <mariotaku.lee@gmail.com>
*
* This program 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.
*
* This program 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 this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.mariotaku.twidere.model;
public abstract class ListAction {
private final int order;
public ListAction(final int order) {
this.order = order;
}
public abstract String getName();
public int getOrder() {
return order;
}
public String getSummary() {
return null;
}
public void onClick() {
}
public boolean onLongClick() {
return false;
}
@Override
public final String toString() {
return getName();
}
}