Multi-core processors were first introduced for Android in 2011. Generally, Android device manufacturers have boasted impressive specifications in their CPUs. It is only natural that the software should use the hardware to its full potential.
This recipe will cover using
AsyncTask to execute short-running processes in the background without blocking the main thread.
For this recipe, we created a React Native application titled
In this recipe, we will use the
react-native-button library. To install it, run the following command in the terminal from your project root directory:
$ npm install react-native-button --save