コード例 #1
0
        /// <Docs>If the fragment is being re-created from
        ///  a previous saved state, this is the state.</Docs>
        /// <summary>
        /// Raises the activity created event.
        /// </summary>
        /// <param name="savedInstanceState">Saved instance state.</param>
        public override void OnActivityCreated(Bundle savedInstanceState)
        {
            base.OnActivityCreated(savedInstanceState);

            adapter = new FileAdapter(cache);
            adapter.SetFilter(filter);
            adapter.emptyView = empty;

            list.SetAdapter(adapter);

            if (folder != null)
            {
                adapter.SetFolder(folder);
            }
        }