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); }
private void GetRubricAdapter(CustomListAdapter adapt) { RubricAdapter = adapt; }
public CustomlFilter(CustomListAdapter adapter) { _adapter = adapter; }
private void GetUserAdapter(CustomListAdapter adapt) { UserAdapter = adapt; }