All Posts
480 posts
Elixir Cheatsheet - Elixir in Brief
Elixir is a dynamic functional compiled language that runs over an Erlang Virtual Machine called BEAM. Erlang and its BEAM is well known for running low-lattency, distributed and fault-tolerant …
Python Cheatsheet
Python sys Variables 🔗 variable meaning argv Command line args builtin_module_names Linked C modules byteorder Native byte order check_interval Signal check frequency exec_prefix Root …
PHP cheatsheet
PHP Array Functions 🔗 array_diff (arr1, arr2 …) array_filter (arr, function) array_flip (arr) array_intersect (arr1, arr2 …) array_merge (arr1, arr2 …) array_pop (arr) array_push …
How to get currently running applications in android ?
Use this code in your app’s `src/MainActivity.kt’ file. import android.app.ActivityManager import android.app.ActivityManager.RunningTaskInfo import android.content.Context import …
Should I use Swift or Objective-C to learn iOS development ?
The Swift programming language is the standard features rich language to create iOS apps, iPadOS apps and MacOS X apps. The present and the future is just Swift on Apple ecosystem. Apple is perfecting …
What are great ways to promote an iOS app?
I think deeply about marketing and how to reach your target audience online and offline. In this post, I’ll cover all areas of marketing and advertising your mobile application specially the iOS …

How to animate the change of background color of a view on iOS ?
Step by step guide to create background color changing with beautiful animation 🔗 open Main.storyboard add a button as shown below add one @IBAction for touchUpInside of ‘Change Background’ button. …
How do you animate the change of background color of a view on Android ?
The idea is to use this code snippet. ColorDrawable[] colorDrawables = { new ColorDrawable(Color.RED), new ColorDrawable(Color.BLUE), new ColorDrawable(Color.GREEN) }; TransitionDrawable …
How to change background color of selected item in listview in Android ?
The main idea is to use view.setBackgroundColor(getColor(R.color.colorAccent)) to the selected view (list item). Let’s see a complete example. use this xml code in res/layout/activity_main.xml. …
How to Change Listview Item Color in Android ?
The idea is to create an a list item xml, and give it the design choices you want. If you want to change the list item color, use this xml code …