HarshitVaish
10/1/2016 - 7:24 AM

Maintaining compatibility with JAVA

Maintaining compatibility with JAVA

if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
            // Call some material design API's here
} else {
            // Implement this feature without material design
}