SwipeStack icon indicating copy to clipboard operation
SwipeStack copied to clipboard

Question about swipestack child views

Open kyleruscigno opened this issue 6 years ago • 0 comments

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?

kyleruscigno avatar Jan 17 '18 00:01 kyleruscigno