Skip to content

Fix small issues left in version 4.2.1#1495

Merged
samtstern merged 9 commits intoversion-4.2.1-devfrom
ss-version-4.2.1
Oct 24, 2018
Merged

Fix small issues left in version 4.2.1#1495
samtstern merged 9 commits intoversion-4.2.1-devfrom
ss-version-4.2.1

Conversation

@samtstern
Copy link
Contributor

@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 samtstern changed the base branch from master to version-4.2.1-dev October 22, 2018 17:29
@samtstern samtstern added this to the 4.2.1 milestone Oct 23, 2018
@samtstern samtstern requested a review from lsirac October 23, 2018 13:20
@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
Contributor Author

@samtstern samtstern left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self-review to help out.


@Override
public int getSectionForPosition(int position) {
if (sections == null) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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;
}
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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


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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.


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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Copy link
Contributor

@lsirac lsirac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to approve since it's mostly just nits.

@samtstern samtstern merged commit e49b3f0 into version-4.2.1-dev Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants