Skip to content
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.

Question about swipestack child views #58

Open
kyleruscigno opened this issue Jan 17, 2018 · 0 comments
Open

Question about swipestack child views #58

kyleruscigno opened this issue Jan 17, 2018 · 0 comments

Comments

@kyleruscigno
Copy link

kyleruscigno commented Jan 17, 2018

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant