Function | Function type | Target passed as | Returns |
---|---|---|---|
also |
Extension | it |
Target |
apply |
Extension | this |
Target |
let |
Extension | it |
Block return value |
run |
Extension | this |
Block return value |
with |
Regular | this |
Block return value |
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 android.support.test.espresso.NoMatchingViewException; | |
import android.support.test.espresso.ViewAssertion; | |
import android.support.v7.widget.RecyclerView; | |
import android.view.View; | |
import com.google.common.truth.Truth; | |
import java.util.ArrayList; | |
import org.hamcrest.Matcher; | |
import org.junit.Assert; |
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 android.support.v7.widget.RecyclerView; | |
import java.util.Collections; | |
import java.util.Comparator; | |
import java.util.List; | |
/** | |
* Created by pascalwelsch on 04.07.14. | |
*/ | |
public abstract class ArrayAdapter<T, VH extends RecyclerView.ViewHolder> |
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
#### Android REST Controller with Cache-Control | |
Android REST Controller with Simple Cache Control Headers using | |
Retrofit 1.9.0 + OkHttp 2.2.0 |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.