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

Question about swipestack child views #58

@kyleruscigno

Description

@kyleruscigno

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions