public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                var assetGroup = AssetGroups [indexPath.Row];

                assetGroup.SetAssetsFilter(ALAssetsFilter.AllPhotos);
                var picker = new ELCAssetTablePicker(assetGroup);

                picker.Parent = Parent;
                NavigationController.PushViewController(picker, true);
            }
Beispiel #2
0
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                var assetGroup = AssetGroups [indexPath.Row];

                assetGroup.SetAssetsFilter(ALAssetsFilter.AllPhotos);
                var picker = new ELCAssetTablePicker(assetGroup);

                picker.Parent = Parent;

                this.NavigationItem.BackBarButtonItem = new UIBarButtonItem(NSBundle.MainBundle.LocalizedString("Back", "Back"), UIBarButtonItemStyle.Plain, null);

                NavigationController.PushViewController(picker, true);
            }
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                var assetGroup = assetGroups[indexPath.Row];
                var picker     = new ELCAssetTablePicker(assetGroup);

                picker.LoadingTitle    = LoadingTitle;
                picker.PickAssetTitle  = PickAssetTitle;
                picker.DoneButtonTitle = DoneButtonTitle;

                picker.Parent = Parent;

                var backButtonTitle = string.IsNullOrWhiteSpace(BackButtonTitle) ? NSBundle.MainBundle.GetLocalizedString("Back", "Back") : BackButtonTitle;

                NavigationItem.BackBarButtonItem = new UIBarButtonItem(backButtonTitle, UIBarButtonItemStyle.Plain, null);

                NavigationController.PushViewController(picker, true);
            }
Beispiel #4
0
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                var assetGroup = AssetGroups[indexPath.Row];

                assetGroup.SetAssetsFilter(ALAssetsFilter.AllPhotos);
                var picker = new ELCAssetTablePicker(assetGroup);

                picker.CustomLoadingTitle    = CustomLoadingTitle;
                picker.CustomPickPhotosTitle = CustomPickPhotosTitle;
                picker.CustomPickPhotoTitle  = CustomPickPhotoTitle;
                picker.CustomDoneButtonTitle = CustomDoneButtonTitle;

                picker.Parent = Parent;

                string backButtonTitle = string.IsNullOrWhiteSpace(CustomBackButtonTitle) ? NSBundle.MainBundle.LocalizedString("Back", "Back") : CustomBackButtonTitle;

                this.NavigationItem.BackBarButtonItem = new UIBarButtonItem(backButtonTitle, UIBarButtonItemStyle.Plain, null);

                NavigationController.PushViewController(picker, true);
            }
Beispiel #5
0
 public ELCAsset(ELCAssetTablePicker parent, ALAsset asset)
 {
     _Parent = new WeakReference(parent);
     Asset   = asset;
 }
 public ELCAsset(ELCAssetTablePicker parent, ALAsset asset)
 {
     _Parent = new WeakReference (parent);
     Asset = asset;
 }
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                var assetGroup = AssetGroups [indexPath.Row];
                assetGroup.SetAssetsFilter (ALAssetsFilter.AllPhotos);
                var picker = new ELCAssetTablePicker (assetGroup);
                picker.Parent = Parent;

                this.NavigationItem.BackBarButtonItem = new UIBarButtonItem (NSBundle.MainBundle.LocalizedString ("Back", "Back"), UIBarButtonItemStyle.Plain, null);

                NavigationController.PushViewController (picker, true);
            }
 public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
 {
     var assetGroup = AssetGroups [indexPath.Row];
     assetGroup.SetAssetsFilter (ALAssetsFilter.AllPhotos);
     var picker = new ELCAssetTablePicker (assetGroup);
     picker.Parent = Parent;
     NavigationController.PushViewController (picker, true);
 }