X Tutup
The Wayback Machine - https://web.archive.org/web/20201228082018/https://github.com/firebase/FirebaseUI-Android/pull/1495
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

Fix small issues left in version 4.2.1 #1495

Merged
merged 9 commits into from Oct 24, 2018
Merged

Conversation

@samtstern
Copy link
Member

@samtstern samtstern commented Oct 22, 2018

Fixes:

Other changes:

  • Bump some dependencies
  • Add some .gradle files to make Android Studio pick up the build easier. I got a new computer so I was able to experience the first-timer pain.
samtstern added 3 commits Oct 22, 2018
@samtstern samtstern changed the base branch from master to version-4.2.1-dev Oct 22, 2018
@samtstern samtstern added this to the 4.2.1 milestone Oct 23, 2018
@samtstern samtstern requested a review from lsirac Oct 23, 2018
@samtstern samtstern changed the title [WIP] Fix small issues left in version 4.2.1 Fix small issues left in version 4.2.1 Oct 23, 2018
Copy link
Member Author

@samtstern samtstern left a comment

Self-review to help out.

@@ -92,6 +102,16 @@ public int getPositionForSection(int index) {

@Override
public int getSectionForPosition(int position) {
if (sections == null) {

This comment has been minimized.

@samtstern

samtstern Oct 23, 2018
Author Member

Since we were using "fast scrolling" this method had to be implemented to get the scroll bar to work correctly.

This comment has been minimized.

@lsirac

lsirac Oct 24, 2018
Collaborator

I tested this, and it seems a bit jumpy. If you scroll all the way down, and go back up, it immediately jumps to a quarter of the way up. If you can fix that, it'd be perfect. Otherwise, still a big improvement over what we had.

This comment has been minimized.

@lsirac

lsirac Oct 24, 2018
Collaborator

The scrollbar also doesn't show up unless we start scrolling - is that the intended behavior?

This comment has been minimized.

@samtstern

samtstern Oct 24, 2018
Author Member

Yeah won't show up till you start scrolling, that's normal. There's nothing I can figure out to fix the jumpiness, will maybe look into it again later if people report it.

targetField = f;
}
}

This comment has been minimized.

@lsirac

lsirac Oct 24, 2018
Collaborator

Nit: extra space & I would name f "field" instead

@@ -92,6 +102,16 @@ public int getPositionForSection(int index) {

@Override
public int getSectionForPosition(int position) {
if (sections == null) {

This comment has been minimized.

@lsirac

lsirac Oct 24, 2018
Collaborator

I tested this, and it seems a bit jumpy. If you scroll all the way down, and go back up, it immediately jumps to a quarter of the way up. If you can fix that, it'd be perfect. Otherwise, still a big improvement over what we had.

settings.gradle Outdated Show resolved Hide resolved
@@ -92,6 +102,16 @@ public int getPositionForSection(int index) {

@Override
public int getSectionForPosition(int position) {
if (sections == null) {

This comment has been minimized.

@lsirac

lsirac Oct 24, 2018
Collaborator

The scrollbar also doesn't show up unless we start scrolling - is that the intended behavior?

@lsirac
lsirac approved these changes Oct 24, 2018
Copy link
Collaborator

@lsirac lsirac left a comment

Going to approve since it's mostly just nits.

@samtstern samtstern merged commit e49b3f0 into version-4.2.1-dev Oct 24, 2018
1 of 3 checks passed
1 of 3 checks passed
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/travis-ci/push The Travis CI build is in progress
Details
cla/google All necessary CLAs are signed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.
X Tutup