is there a specific problem you're trying to solve, or do you just want to know if there is a better way to approach this?
I wish Apple would include a standard expand/collapse control in their UI framework - to me it makes a lot of sense on a display with limited real estate On Sat, Dec 8, 2012 at 1:05 PM, Alejandro Vazquez <[email protected]>wrote: > Hi everyone, > > I'm trying to create a Custom Element using Monotouch Dialog where I can > touch a cell and it will expanded showing some buttons and if touch again > it will collapse. > > Its working fine right now but I'm sure there is a better and right way to > do it. Now when the cell is in expanded mode and I touch again it collapse > but I had to add the following line in the Selected override method of my > element with the Fade animation so It looks better, if I set animation to > None then the extra height space is turned blue before it collapse: > > tableView.ReloadRows(new > NSIndexPath[]{NSIndexPath.FromRowSection(path.Row,path.Section)},UITableViewRowAnimation.Fade); > > Hope someone can help me. > > This is my code: > > http://pastebin.com/ZPd6bhKK > > Thanks in advance. > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
