blipinsk / FlippableStackView

An Android library introducing a stack of Views with the first item being flippable.
Apache License 2.0
810 stars 150 forks source link

Not able to get child view inside StackPageTransform #10

Closed SumiGhosh closed 8 years ago

SumiGhosh commented 8 years ago

I was trying to get a child view from my ViewPager, but it returning error saying "cannot find symbol variable layout_divider".

blipinsk commented 8 years ago

Hi, this doesn't seem to be related to my library. FlippableStackView only changes the way your ViewPager is displaying elements. First of all I don't see a case in which I would like to get a child View inside a StackPageTransformer, second of all there is no layout_divider in my library. Look for an error in your adapter, or somewhere else in your code. Cheers

SumiGhosh commented 8 years ago

Hi Bartosz Lipinski,

The scenario is when we have normal viewpager, we can take reference of the child view using findviewbyid. In my case i used your classes in my project and changed the animation of the view to look like a carousel, and when i was trying to do the above said referencing to the childviews, i am getting the error which i was saying.

I am not sure this is specific to the lib or not.

Thanks Sumi Ghosh

On Tue, Nov 24, 2015 at 6:41 PM, Bartosz Lipinski notifications@github.com wrote:

Hi, this doesn't seem to be related to my library. FlippableStackView only changes the way your ViewPager is displaying elements. First of all I don't see a case in which I would like to get a child View inside a StackPageTransformer, second of all there is no layout_divider in my library. Look for an error in your adapter, or somewhere else in your code. Cheers

— Reply to this email directly or view it on GitHub https://github.com/blipinsk/FlippableStackView/issues/10#issuecomment-159262257 .

SumiGhosh commented 8 years ago

Yeah, found a solution through ViewGroup.