This file contains hidden or 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
| @RangeVariableMethod(minValue = 6, maxValue = 70, initialValue = 20) | |
| public void setLabelSize(Float fontSize) { // Float? in Kotlin | |
| indicator.setLabelSize(fontSize); | |
| } |
This file contains hidden or 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
| @BooleanVariableMethod(initialValue = true) | |
| public void showLabels(Boolean showLabels) { | |
| indicator.showLabels(showLabels); | |
| } |
This file contains hidden or 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
| @ColorListVariableMethod(limitedToValues = {0xFF00b47c, 0xFF3f51b5, 0xFFf44336}) | |
| public void setIndicatorColor(Integer indicatorColor) { | |
| indicator.setIndicatorColor(indicatorColor); | |
| } |
This file contains hidden or 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
| <android.support.design.widget.TextInputLayout | |
| android:theme="@style/PickupEditTextHint" | |
| > | |
| <android.support.design.widget.TextInputEditText /> | |
| </android.support.design.widget.TextInputLayout> |
This file contains hidden or 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
| import kotlin.reflect.KFunction1 | |
| import kotlin.test.assertEquals | |
| fun main() { | |
| assertSums(::makeSum) | |
| assertSums(::makeSum2) | |
| assertSums(::makeSum3) | |
| } | |
| fun assertSums(kFunction1: KFunction1<List<Int>, List<Int>>) { |
OlderNewer