Langston Smith

Results 92 comments of Langston Smith

Soooo, looks like we already have `lineIntersect` or logic that could help create the port https://github.com/mapbox/mapbox-java/blob/master/services-turf/src/main/java/com/mapbox/turf/TurfMisc.java#L294 . 🤔 🎊 👏 Returns a `LineIntersectsResult` object: https://github.com/mapbox/mapbox-java/blob/master/services-turf/src/main/java/com/mapbox/turf/models/LineIntersectsResult.java

Well we don't have the exact method, because it's `private`, not documented, etc. But the logic linked above is a great headstart.

Yes, that's a good idea. No reason not to have one. Thanks for the suggestion, @ikkyu0319 !

Use `String.replace()` to swap out accented letters before building the `.query` parameter of `MapboxGeocoding`? https://stackoverflow.com/questions/2774320/how-to-know-if-a-string-contains-accents

I saw something online about declaring encoding, but I'm not sure what's best for us off the top of our head. Encoding is probably better than having to check for...

https://docs.oracle.com/javase/tutorial/i18n/text/normalizerapi.html https://dzone.com/articles/java-may-use-utf-8-as-its-default-charset https://stackoverflow.com/questions/3322152/is-there-a-way-to-get-rid-of-accents-and-convert-a-whole-string-to-regular-lette https://stackoverflow.com/questions/15190656/easy-way-to-remove-accents-from-a-unicode-string https://www.rgagnon.com/javadetails/java-0456.html

Comes from https://github.com/mapbox/mapbox-android-demo/pull/1012, where `setUpTileLoadingMeasurement()` was added to the `MapboxApplication` class: https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/global/java/com/mapbox/mapboxandroiddemo/MapboxApplication.java#L44-L48 Will work on a pr to adjust if possible

> Comes from #1012, where setUpTileLoadingMeasurement() was added to the MapboxApplication class The filter warning doesn't appear in the logcat when I comment out this method, fresh install on my...

I haven't found much. The `ActivityManager: Receiver with filter....` log message seems to come from `ActivityManagerService#registerReceiver()`: https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/am/ActivityManagerService.java#14539

@tobrun , how do you envision improving this? [MainActivity for reference](https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/java/com/mapbox/mapboxandroiddemo/MainActivity.java#L238) Anything else besides breaking things up into separate methods (seen below)? Or would that be enough/fine? ```java private void...