Code example for Context

Methods: getSystemService

0
   * @param layout resource identifier of a layout file that defines the views 
   *            for this list item.  Unless you override them later, this will 
   *            define both the item views and the drop down views. 
   */ 
  public void __constructor__(Context context, int layout, Cursor c) {
    super.__constructor__(context, c);
    mLayout = mDropDownLayout = layout;
    mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
  } 
 
  /** 
   * Constructor. 
   * 
   * @param context The context where the ListView associated with this 
   *            SimpleListItemFactory is running 
   * @param layout resource identifier of a layout file that defines the views 
   *            for this list item.  Unless you override them later, this will 
   *            define both the item views and the drop down views. 
   * @param c The cursor from which to get the data. 
   * @param autoRequery If true the adapter will call requery() on the 
   *                    cursor whenever it changes so the most recent