Пример #1
0
            public void OnLoadFinished(Loader<ICursor> loader, ICursor data) {
                mAdapter.SwapCursor(data);

                // The list should now be shown.
                if (IsResumed()) {
                    SetListShown(true);
                } else {
                    SetListShownNoAnimation(true);
                }
            }
Пример #2
0
            public void OnLoadFinished(Loader <ICursor> loader, ICursor data)
            {
                // Swap the new cursor in.  (The framework will take care of closing the
                // old cursor once we return.)
                mAdapter.SwapCursor(data);

                // The list should now be shown.
                if (IsResumed())
                {
                    SetListShown(true);
                }
                else
                {
                    SetListShownNoAnimation(true);
                }
            }