2015-01-03 16:16:50 +01:00
|
|
|
/*
|
|
|
|
* Twidere - Twitter client for Android
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012-2015 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.adapter.iface;
|
|
|
|
|
|
|
|
import android.content.Context;
|
|
|
|
|
|
|
|
import org.mariotaku.twidere.util.AsyncTwitterWrapper;
|
2015-03-22 18:06:25 +01:00
|
|
|
import org.mariotaku.twidere.util.MediaLoaderWrapper;
|
2015-01-03 16:16:50 +01:00
|
|
|
import org.mariotaku.twidere.util.ImageLoadingHandler;
|
2015-01-14 09:47:51 +01:00
|
|
|
import org.mariotaku.twidere.view.ShapedImageView.ShapeStyle;
|
2015-01-03 16:16:50 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by mariotaku on 15/1/3.
|
|
|
|
*/
|
2015-01-06 16:46:07 +01:00
|
|
|
public interface IContentCardAdapter extends IGapSupportedAdapter, ContentCardClickListener {
|
2015-03-22 18:06:25 +01:00
|
|
|
MediaLoaderWrapper getImageLoader();
|
2015-01-03 16:16:50 +01:00
|
|
|
|
|
|
|
Context getContext();
|
|
|
|
|
|
|
|
ImageLoadingHandler getImageLoadingHandler();
|
|
|
|
|
2015-03-15 15:40:45 +01:00
|
|
|
int getItemCount();
|
|
|
|
|
2015-01-14 09:47:51 +01:00
|
|
|
@ShapeStyle
|
2015-01-03 16:16:50 +01:00
|
|
|
int getProfileImageStyle();
|
|
|
|
|
|
|
|
int getMediaPreviewStyle();
|
|
|
|
|
|
|
|
AsyncTwitterWrapper getTwitterWrapper();
|
|
|
|
|
|
|
|
float getTextSize();
|
|
|
|
|
2015-03-15 15:40:45 +01:00
|
|
|
boolean hasLoadMoreIndicator();
|
|
|
|
|
|
|
|
void setLoadMoreIndicatorEnabled(boolean enabled);
|
2015-01-03 16:16:50 +01:00
|
|
|
}
|