forked from captain-miao/RecyclerViewUtils
-
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.
- Loading branch information
1 parent
39d8ba3
commit 237a032
Showing
5 changed files
with
41 additions
and
52 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
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
7 changes: 6 additions & 1 deletion
7
.../java/com/github/captain_miao/recyclerviewutils/stickyandexpandable/StickyHeaderItem.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,15 +1,20 @@ | ||
package com.github.captain_miao.recyclerviewutils.stickyandexpandable; | ||
|
||
import java.util.List; | ||
|
||
/** | ||
* @author YanLu | ||
* @since 16/7/30 | ||
*/ | ||
public interface StickyHeaderItem { | ||
public interface StickyHeaderItem<T extends StickyHeaderItem> { | ||
|
||
long getHeaderId(); | ||
|
||
boolean isParentItem(); | ||
|
||
boolean isExpanded(); | ||
void setExpanded(boolean expanded); | ||
|
||
|
||
List<T> getChildItemList(); | ||
} |