dostmuhammad.com
Android: Call to getLayoutInflater() outside activity
Some times we need the inflater outside activities in android . To get access to the inflator we may use the following code snippet. You can use this outside activities – all you need is to p…