Understanding Java Annotation with Example

Annotations were introduced to the Java world with the version 1.5 and the main purpose of Annotations is to provide information about the code without having any direct effect on the code which they Annotate. Java Annotation is the…

Understanding ::after / ::before CSS Selectors

::before and ::after are the pseudo elements which allows you to insert content onto a page from CSS (without it needing to be in the HTML). The end result might not actually be in the DOM but it appears on the page as if it is.…

Steps to Setup Espresso for Android Apps

Before we start the setup process for Espresso for testing, it is recommended to turn off the following system settings on your virtual or physical device(s). On your device, under Settings->Developer options disable the following 3…

Getting Started with Android Testing

While developing Android apps we can use two main types of tests. Unit Tests Connected Tests The primary distinction between these two are described below: Unit Tests Run on a regular Java JVM on your computer. They are…

Gradle Declaring Dependencies – Android

In the Android App, once the repositories have been defined, we can then define the dependencies or artifacts that we are looking to use in the App from those repositories. Dependencies that are resolved from repositories are referred to…

Want to Call Javascript from Kotlin

Kotlin, a statically typed language and Javascript, a dynamically typed language, so how are we gonna call Javascript from Kotlin code. The answer to the above is via dynamic types. val dyn: dynamic = ... Inline Javascript…