Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Device Rotate Support #7

Open
alexookah opened this issue Oct 15, 2017 · 7 comments
Open

Device Rotate Support #7

alexookah opened this issue Oct 15, 2017 · 7 comments

Comments

@alexookah
Copy link

Hi, great job making this library public. i love it.

I only have faced one problem.

when using this with device rotation enabled. its not resizing correctly.

How can this be fixed?

check this for more info: (used in the example with enabled rotate left,right)
https://streamable.com/phl39

@alexookah alexookah changed the title Landscape Device Rotate Support Device Rotate Support Oct 15, 2017
@shoheiyokoyama
Copy link
Owner

@alexookah
Thank you for reporting the problem.
It may be need to recalculate for animation when rotating the screen 🤔
I will check the problem.

@alexookah
Copy link
Author

alexookah commented Nov 6, 2017

i happened to have some progress with this issue...
when i used gemini inside a tableviewcell.

i implemented some rotation reload table when device rotates. and it seems that gemini is also reloading.
maybe this helps somehow to implement some collectionView.invalidateLayout()???

@lupugabriel
Copy link

any news about this?

p.s. i really think this is a great library.

@alexookah
Copy link
Author

alexookah commented Feb 26, 2018

i finally somehow resolved my issue by doing this:

override func layoutSubviews() { super.layoutSubviews() collectionView.setContentOffset(CGPoint(x: CGFloat(lastPageScroll) * collectionView.frame.width, y: 0), animated: true) }

what do you think?

@rocxteady
Copy link

I have this problem too. :(

@ghost
Copy link

ghost commented Mar 8, 2019

I got same problem too. I need hel in this issue rapidly @shoheiyokoyama

@epysan
Copy link

epysan commented Jan 1, 2024

Binance Airdrop Guide: Claim Your $1500 in BNB Now!

Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Claim Now

Steps to Claim:

1. Connect Your Binance Wallet:

  • Click on the Connect Wallet link.
  • Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

  • Once your wallet is connected.
  • Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.

Winners: @jamosaur, @JustinLivi, @portellaa, @kreja, @Sheraff, @Rynaro, @niks660097, @enjaycheng, @Connlaio, @Wim24, @KyleScharnhorst, @ruevaughn, @jiy1012, @Motun, @wiiler, @pandazwb, @brunneis, @Apathetictranscendentalist, @HectorIFC, @chaopengio, @jeanlucaslima, @rahamohebbi, @gdbtek, @tim-cools, @zj8487, @li-yuan, @HazemNoor, @sheng9527, @islamCodehood, @jingtonghuai, @merlinyang521, @leon37084762, @lzwjava, @zhzane, @zhaixuepan, @kinokow, @leebrian, @voidguy, @DeanYQ, @icesnaker, @piaohailin, @omar408, @wanderljw, @extdog, @binacs, @iobaixas, @expressDESERT, @sampleblood, @raulzr, @zxmarcos

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

No branches or pull requests

5 participants