protected internal override void onCreate(Bundle savedInstanceState)
	  {
		base.onCreate(savedInstanceState);
		mEngagementAgent = EngagementAgent.getInstance(this);

		/* FIXME temporary empty adapter to avoid side effects with Reach */
		if (ExpandableListAdapter == null)
		{
		  /* This will trigger required initialization */
		  ListAdapter = new BaseExpandableListAdapterAnonymousInnerClassHelper(this);

		  /*
		   * We can now safely reset the adapter to null to avoid side effect with
		   * 3rd party code testing the null pointer.
		   */
		  ListAdapter = null;
		}
	  }
Пример #2
0
        protected internal override void onCreate(Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);
            mEngagementAgent = EngagementAgent.getInstance(this);

            /* FIXME temporary empty adapter to avoid side effects with Reach */
            if (ExpandableListAdapter == null)
            {
                /* This will trigger required initialization */
                ListAdapter = new BaseExpandableListAdapterAnonymousInnerClassHelper(this);

                /*
                 * We can now safely reset the adapter to null to avoid side effect with
                 * 3rd party code testing the null pointer.
                 */
                ListAdapter = null;
            }
        }