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
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<style name="AppTheme" parent="@style/Theme.AppCompat.Light.NoActionBar"> | |
<item name="spinnerStyle">@style/Spinner</item> | |
<item name="android:spinnerItemStyle">@style/Spinner.Item</item> | |
<item name="spinnerDropDownItemStyle">@style/Spinner.Dropdown</item> | |
</style> | |
<!-- styling for the main widget --> | |
<style name="Spinner" parent="@style/Widget.AppCompat.Spinner"> |
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
package com.methodsignature.sample | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import com.jakewharton.rxrelay2.BehaviorRelay | |
import io.reactivex.Observable | |
import io.reactivex.disposables.CompositeDisposable | |
data class Data( | |
val id: Long, |
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
package com.methodsignature.kotlin.example | |
import android.app.Activity | |
import android.content.Intent | |
import android.os.Bundle | |
import android.support.v7.app.AppCompatActivity | |
import android.widget.Toast | |
/** | |
* Base class that supports composition and handles the boilerplate. | |
*/ |
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
import io.reactivex.Observable | |
import io.reactivex.Single | |
import io.reactivex.schedulers.Schedulers | |
import junit.framework.Assert | |
import org.junit.Test | |
import java.util.* | |
class SkipExceptionTest { | |
private val data: Map<Int, String> = mapOf( |
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
package com.methodsignature.listlauncher; | |
import org.junit.Assert; | |
import org.junit.Test; | |
import java.util.ArrayList; | |
import java.util.List; | |
import io.reactivex.Observable; | |
import io.reactivex.Scheduler; |