protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); // Set our view from the "main" layout resource SetContentView(Resource.Layout.Main); ActionBar.SetIcon(new ColorDrawable(Android.Graphics.Color.Transparent)); _swipeListView = FindViewById <SwipeListView>(Resource.Id.example_lv_list); _adapter = new DogsAdapter(this, Dogs.GetDogData()); _swipeListView.FrontViewClicked += HandleFrontViewClicked; _swipeListView.BackViewClicked += HandleBackViewClicked; _swipeListView.Dismissed += HandleDismissed; _swipeListView.Adapter = _adapter; }
protected override void OnCreate(Bundle savedInstanceState) { SetContentView(Resource.Layout.Accounts); base.OnCreate(savedInstanceState); // Set our view from the "main" layout resource MobileBarcodeScanner.Initialize(Application); if (_accountService == null) { _accountService = new AccountService(_filesystem); } _accounts = _accountService.GetAll().ToCT1ItemList(); _filteredAccounts = new List <CT1Item>(); _listView = FindViewById <SwipeListView>(Resource.Id.accountList); _listView.Adapter = new CT1ActionAdapter(this, _accounts); InitListeners(); // _view = FindViewById(Resource.Id.main_activity); // _view.SystemUiVisibility = (StatusBarVisibility)SystemUiFlags.HideNavigation; //button.Click += delegate { button.Text = $"some clicks!"; }; }
internal SwipeListViewItem(SwipeListView parent) : this() { _parent = parent; }
internal SwipeListViewItem(SwipeListView parent) : this() { _parent = parent; }