SwipeStack
SwipeStack copied to clipboard
Question about swipestack child views
I've been using this library to help me learn some stuff about android but I'm a bit confused to a couple of things. Why won't the child views of swipestack render unless childview.layout() is called in reorderItems? Also why must we call measure() explicitly in addNextView as well as specify that the width is getWidth - padding. Wouldn't using Match_parent in xml mean the same thing? Does addViewInLayout not display a view unless explicitly calling these two methods?