1 . Lovely dialog is a nice dialog third party android library . There has some good functionality that makes it awesome . 2 . Sweet alert is also a nice dialog and alert library . It’s also have animation that makes it beautiful . 3 .android material dialog is now default dialog for android […]

Solution : use DispatchQueue.main.async { // Correct } Updating UI from a Completion Handler Long-running tasks such as networking are often executed in the background, and provide a completion handler to signal completion. Attempting to read or update the UI from a completion handler may cause problems. let task = URLSession.shared.dataTask(with: url) { […]

Part -1 : Take that we have some data field on child node named “user” . We will first retrieve all data and then we will show it on recyclerview. , public class UserListActivity extends AppCompatActivity { private DatabaseReference mDatabase; ArrayList<User> userArrayList; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_user_list); Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); […]

First of all you can get total setup manual from here . https://firebase.google.com/docs/android/setup I am describing here step by step : Part 1 : First create an android project . If already have then no need . We need project package name . Part 2 : Go to firebase console to create a project . […]

It’s easy if you have a Mac book . But before to be a iOS application developer you need to have mac and iPhone for debug application but you can also use simulator for debug purpose . Let’s start for environment setup – 1 . First Download xCode from https://developer.apple.com/xcode/ 2 . You need an […]

Open Terminal and go to project folder like cd: Desktop/newProject run the command on terminal cordova platform add ios and run the command cordova build It will create a platform folder in the project directory and inside project directory you will find iOS . import iOS on xCode and build as same as other xCode […]

Open Terminal and run this command that will add the source on master branch on cocoapod repos . $ cd ~/.cocoapods/repos $ git clone https://github.com/CocoaPods/Specs.git master if again issuing already has master branch and it’s not empty and completely remove cocoapod and install from new . How to uninstall cocoapod completely and install new