The Google Play Store will not be suspended in Pakistan from December, but mobile users will not be able to download paid applications and purchase any type of apps using their mobile balance. This is because the State Bank of Pakistan has suspended the direct carrier billing (DCB) mechanism. For…
In application development, Model View Presenter is one of the design patterns. In the MVP design pattern, Presenter manages all the communication between View and Model. Just as discussed earlier in the MVVM tutorial, where View Model acts as Presenter. Model View Presenter MVP Design pattern Components: As shown in the MVP diagram, each component…
At a professional stage of application development, each developer follows a design pattern to write code. The reason to follow the design pattern is to keep the application code simple and easy to understand. Above all, a good design pattern improves the performance of our applications and makes them more…
In the View Binding tutorial, we were limited to bind views of a layout file to the activity class to get rid of FindViewById(). However, Data Binding allows us to bind UI elements directly with the data source in the XML file itself. Moreover, it allows us to bind ClickListeners and…
As android developers, we use FindViewById() in our Activity and Fragment. It is important to access every view in the layout.xml file to our activity class. As a result, this added a lot of code in our activity class. Moreover, it causes our class to become more complex and difficult to maintain. Therefore, view…
Checkbox Unchecked: It’s a common problem with beginners in android application development once they implement a checkbox in ListView that automatically gets unchecked while scrolling. In this tutorial, we will learn how to avoid this problem. We will implement a custom adapter with a custom row having checkboxes and titles.…
Social logins in mobile applications are the quickest way to log in/signup. In this tutorial, we will learn how to implement Facebook login inside an android application using a custom login button. Facebook provides its own login button using Facebook SDK but we need to do that using a custom…
Are you looking for a monetization solution for your android apps? Do you want to earn good revenue from your app? Then Google AdMob is the best solution for this purpose. It’s very easy to integrate AdMob ads into an android application. In this tutorial, we will learn to create…
Icons are one of the important parts of application development. It is difficult for developers to find icons of different sizes and colors quickly. In this tutorial, we will learn how to add the Material Design icons plugin to android studio. At the end of this tutorial, we will easily…
How to build REST API? How to connect an android application with PHP and MySQL database? What is JSON? How to make POST Server requests in android? How to build login signup in android using PHP and MySQL? These are the main questions that came to mind once we think…