Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Fine tune gesture zoom & rotation - #10134

Merged
tobrun merged 1 commit into
release-aguafrom
tvn-gesture-fine-tune
Oct 9, 2017
Merged

tobrun merged 1 commit into
release-aguafrom
tvn-gesture-fine-tune

Conversation

@tobrun

@tobrun tobrun commented Oct 5, 2017

Copy link
Copy Markdown
Member

follow up from #10026, closes #10102.

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Oct 5, 2017
@tobrun tobrun added this to the android-v5.2.0 milestone Oct 5, 2017
@tobrun tobrun self-assigned this Oct 5, 2017
@tobrun

tobrun commented Oct 5, 2017

Copy link
Copy Markdown
Member Author

I'm going to wait to merge this after #10135 has landed to include these changes in the next SNAPSHOT

@tobrun

tobrun commented Oct 6, 2017

Copy link
Copy Markdown
Member Author

Adding a note here to retest this PR with a chromebook before merging


@Override
public boolean onTouchEvent(MotionEvent event) {
if (nativeMapView == null) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about extracting this block of code into a private method? IMO, we should try to keep public methods as clean as possible so it reads like pseudocode (a.k.a. no conditionals, fors, etc.).

@tobrun
tobrun force-pushed the tvn-gesture-fine-tune branch from a4f0669 to 6ac2e8e Compare October 9, 2017 14:10
@tobrun
tobrun merged commit 9048d6c into release-agua Oct 9, 2017
@tobrun
tobrun deleted the tvn-gesture-fine-tune branch October 9, 2017 14:51
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 19, 2017
16 of 20 tasks
@Guardiola31337 Guardiola31337 mentioned this pull request Oct 26, 2017
15 of 20 tasks
@tobrun tobrun mentioned this pull request Nov 3, 2017
17 of 21 tasks
This was referenced Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants