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

镜像环境,GridLayoutHelper不满SpanCount的行数条目位置未镜像问题 #469

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wkp111
Copy link

@wkp111 wkp111 commented Sep 2, 2019

我们使用GridLayoutHelper在进行网格布局时,在镜像环境下,发现条目数据已经镜像了,满SpanCount的一行条目,位置也是镜像的,但一般最后一行不满SpanCount时,条目位置依旧是从左向右排列的,未达到镜像效果。此时,需要在child位置布局计算前,将child的index向右移动SpanCount-count(该行实际条目数)位,已达到位置镜像的效果。

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Your Name seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Your Name seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

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

Successfully merging this pull request may close these issues.

None yet

2 participants