예제 #1
0
        private void updateSpinnerState(android.database.Cursor cursor)
        {
            android.os.Bundle extras = cursor != null?cursor.getExtras() : null;

            // Check if the Cursor indicates that the query is not complete and show the spinner
            if (extras != null && extras.getBoolean(android.app.SearchManager.CURSOR_EXTRA_KEY_IN_PROGRESS
                                                    ))
            {
                // mSearchView.getWindow().getDecorView().post(mStartSpinnerRunnable); // TODO:
                return;
            }
        }