Android Open Source - android-cardview Card Util






From Project

Back to project page android-cardview.

License

The source code is released under:

Apache License

If you think the Android project android-cardview listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.pecheur.card;
/*from w w w . j  a v  a 2 s. c o m*/
import android.os.Build;

public class CardUtil {

    /**
     * @return true when the caller can use CardView in its environment.
     */
    public static boolean supportsCardView() {
        return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH;
    }
}




Java Source Code List

de.pecheur.card.AbsStack.java
de.pecheur.card.CardUtil.java
de.pecheur.card.CardView.java
de.pecheur.card.HelloWorldAdapter.java
de.pecheur.card.MainActivity.java