forked from Ramotion/expanding-collection-android
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug with nullable resource id in library. Removed bitmap drawab…
…le as bitmap source support, now works only resource id as bitmap source.
- Loading branch information
1 parent
3daf1f7
commit 3ac830d
Showing
4 changed files
with
33 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
expanding-collection/src/main/java/com/ramotion/expandingcollection/ECCardData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,16 @@ | ||
package com.ramotion.expandingcollection; | ||
|
||
import android.graphics.drawable.BitmapDrawable; | ||
import android.graphics.drawable.Drawable; | ||
import android.support.annotation.DrawableRes; | ||
import android.support.v4.media.MediaMetadataCompat; | ||
|
||
import java.util.Collection; | ||
import java.util.List; | ||
|
||
public interface ECCardData<T> { | ||
|
||
@DrawableRes | ||
Integer getMainBackgroundResource(); | ||
|
||
BitmapDrawable getMainBackgroundDrawable(); | ||
|
||
@DrawableRes | ||
Integer getHeadBackgroundResource(); | ||
|
||
BitmapDrawable getHeadBackgroundDrawable(); | ||
|
||
List<T> getListItems(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters