XamarinEvolveIOS.ProfileViewController.RefreshHeaderCell C# (CSharp) Method

RefreshHeaderCell() public method

public RefreshHeaderCell ( ) : void
return void
        public void RefreshHeaderCell()
        {
            CustomUITableViewCell headerCell =
                this.TableView.CellAt (NSIndexPath.FromRowSection (0, 0)) as CustomUITableViewCell;

            if (headerCell != null) {
                UserProfileHeaderCell headerInnerCell = headerCell.CustomView as UserProfileHeaderCell;
                if (headerInnerCell != null) {
                    MonoTouch.UIKit.UIApplication.SharedApplication.BeginInvokeOnMainThread (delegate {
                        headerInnerCell.RefreshImageFromData ();
                    });
                }
            }
        }