Call getLayoutInflater() with Context

If you have to get LayoutInflater object with Context, in case of not in Activity. Call getLayoutInflater() with context using the code:

   
LayoutInflater inflater =
(LayoutInflater)myContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE );



0 Response to "Call getLayoutInflater() with Context"

Posting Komentar