コード例 #1
0
                public CustomHolder(View row, int position, AutofillDisabledQueriesPreference pref)
                {
                    text      = (TextView)row.FindViewById(Resource.Id.disabled_query_text);
                    text.Text = pref.DisabledQueries[position].DisplayName;

                    checkbox           = (CheckBox)row.FindViewById(Resource.Id.disabled_query_checkbox);
                    checkbox.Id        = position;
                    checkbox.Clickable = true;
                    checkbox.Checked   = true;
                }
コード例 #2
0
 public DisabledQueryPreferenceScreenAdapter(AutofillDisabledQueriesPreference pref, Context context)
 {
     _pref = pref;
 }