Esempio n. 1
0
 public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
 {
     // Use this to return your custom view for this Fragment
     view      = inflater.Inflate(Resource.Layout.UserFragmentLayout, container, false);
     webView   = view.FindViewById <WebView>(Resource.Id.webview);
     _listView = view.FindViewById <ListView>(Resource.Id.XlistView);
     adapter   = new CustomListAdapter((Activity)view.Context, GetCustomControl());
     try
     {
         Repository.mActionGetRubrAdapter.Invoke(adapter);
     }
     catch
     { }
     _listView.Adapter    = adapter;
     _listView.ItemClick += _listView_ItemClick1;
     return(view);
 }
Esempio n. 2
0
 private void GetRubricAdapter(CustomListAdapter adapt)
 {
     RubricAdapter = adapt;
 }
Esempio n. 3
0
 public CustomlFilter(CustomListAdapter adapter)
 {
     _adapter = adapter;
 }
Esempio n. 4
0
 private void GetUserAdapter(CustomListAdapter adapt)
 {
     UserAdapter = adapt;
 }