-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from lriccardo/dev
Release 1.0.3
- Loading branch information
Showing
21 changed files
with
526 additions
and
120 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
11 changes: 11 additions & 0 deletions
11
TimelineView/src/main/java/com/lriccardo/timelineview/TimelineAdapter.kt
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.lriccardo.timelineview | ||
|
||
import androidx.annotation.ColorInt | ||
|
||
interface TimelineAdapter { | ||
fun getTimelineViewType(position: Int): TimelineView.ViewType? = null | ||
fun getIndicatorStyle(position: Int): TimelineView.IndicatorStyle? = null | ||
fun getIndicatorColor(position: Int): Int? = null | ||
fun getLineColor(position: Int): Int? = null | ||
fun getLineStyle(position: Int): TimelineView.LineStyle? = null | ||
} |
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
Oops, something went wrong.