During the development journey, we may require to show unlimited data as no of users of a particular mobile application grows, so does the data associated with that application. Consider the image application, the user scrolls to the bottom of the screen and wants to be able to fetch more data from the server to […]
In Kotlin, Coroutines can be used to simplify asynchronous codes. Coroutine basically helps to implement asynchronous, non-blocking code. For this, we use the suspend function. But the problem with the suspend function is it returns a single object. In such a scenario where you need a data stream, Kotlin has the concept of channel and […]
Android, Digital Transformation, Front End Development
The mobile application development industry is constantly evolving, with new technologies and trends emerging all the time. In this blog, we’ll take a look at some of the key trends that are shaping the future of mobile app development. Artificial Intelligence and Machine Learning: Artificial intelligence (AI) and machine learning (ML) are becoming increasingly important […]
Introduction Instrumented tests run on Android devices, whether physical or emulated. As such, they can take advantage of the Android framework APIs. Instrumented tests, therefore, provide more fidelity than local tests, though they run much more slowly. * Image from https://developer.android.com/training/testing/fundamentals Set up your testing environment In your app’s top-level build.gradle file, you need to specify […]
During our development journey, we do face situations where we require to perform some periodic and background tasks. So, to do so, we have multiple ways, but if it comes to the best way to perform these types of tasks in the context of clean code and optimized device resources usages, then we need to […]
Selecting one or the other technology is always a matter of individual preferences but knowing which platform has what benefits can help in deciding the best option. In this blog, we are going to discuss two of the very popular technologies for creating cross-platform apps i.e. Flutter & React Native. Programming Languages Let’s start by […]
Hi and welcome to my blog, During our Android application development, we have been using startActivityForResult and onActivityResult methods a lot for the sake of callbacks from activities. It was really-clear and easy to implement. But Google knows. Unfortunately, now we are getting a warning for this method in our code. So the question is, Now What? And […]
CameraX is another addition to the Jetpack suite of libraries by Google to help developers incorporate camera capabilities into their applications. Although Camera2 API, the predecessor of CameraX, is known to be a powerful API, it is a little problematic to take full advantage of it, especially with a large number of manufacturers having a […]
RecyclerView internally uses a ViewPool to save scrap views which are no longer visible on screen and can be recycled. Normally each recyclerview creates a seperate ViewPool which is limited to that recyclerview only. With the help of #RecyclerView.setRecycledViewPool() we can share a ViewPool across multiple RecyclerViews. With this we can reduce the number of […]