Posts

Showing posts from 2021

Jetpack Compose based Android interview and questions

What’s Jetpack Compose and its Benefits? Jetpack Compose is a modern UI toolkit recently launched by Google which is used for building native Android UI. It simplifies and accelerates the UI development with less code, Kotlin APIs, and powerful tools.  Declarative Compatible Increase development speed Concise and Idiomatic Kotlin Easy to maintain Written in Kotlin To read more, refer  to  the article:  Jetpack Compose in Android Aaaaaa

Security based Android interview questions and answers

How do you secure shared preference from exposure? One of the latest solutions is to use  Jetpack Datastore  instead of traditional shared preference. As it’s not stable yet, we can use an encrypted shared preference library or we can manually encode and decode the key-value pairs. I recommend you to go through the following article to learn in detail how to use the encrypted shared-preference library and manual encoding & decoding the key-value pairs. Securing sensitive data in Android Storing sensitive information in encrypted preference medium.com What is certificate pinning and how do you implement it in android apps? Communicating with the servers is a common task in any modern mobile application. Using HTTPS alone isn’t enough to provide secure communication. Many hackers interfere with communications to mislead servers and clients. This is known as a  middle man attack . To establish a secure line to the server, we need to implement  certificate pinning . To learn more about

Material Design Components based Android interview questions and answers

Introduction What Is Material Design? Material design is a design language that Google developed in 2014. It consists of the building blocks for your UI components. This language, and the design principles it embodies, are applicable to Android as well as other applications. Google provides a detailed guide to material design in its Design guidance and code. You can review this guide while developing your apps  Material Design EditText Material Design Buttons Material Design  DatePicker Material Design Snackbar Material Design Components Chips Material Design FAB Bottom Sheet Dialog. Full Screen Bottom Sheet

Gradle based Android interview questions and answers

What Is the Gradle Build System? Android Studio uses  Gradle  for building apps. An Android plugin for Gradle compiles, builds and packages apps or libraries. Gradle files also include dependencies and their versions. Gradle files, historically, use  Groovy  as their required language. However, since 2019, you can also use the Kotlin language to code Gradle files in Kotlin apps. We have two great articles on Gradle. Take a look at both  Gradle Tutorial for Android: Getting Started  and  Gradle Tips and Tricks for Android  for a deeper dive. Aaaaas