From 00c417eee6143ab0a9230c24e468cc2467421f6d Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 18 May 2020 13:21:55 +0300 Subject: [PATCH 01/10] Allow drawing of multi polygons --- .../java/io/ona/kujaku/manager/DrawingManager.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/library/src/main/java/io/ona/kujaku/manager/DrawingManager.java b/library/src/main/java/io/ona/kujaku/manager/DrawingManager.java index dde424bed..fc394b58d 100644 --- a/library/src/main/java/io/ona/kujaku/manager/DrawingManager.java +++ b/library/src/main/java/io/ona/kujaku/manager/DrawingManager.java @@ -8,6 +8,7 @@ import com.mapbox.geojson.Feature; import com.mapbox.geojson.FeatureCollection; import com.mapbox.geojson.Geometry; +import com.mapbox.geojson.MultiPolygon; import com.mapbox.geojson.Point; import com.mapbox.geojson.Polygon; import com.mapbox.mapboxsdk.geometry.LatLng; @@ -217,6 +218,16 @@ public boolean startDrawing(@Nullable FillBoundaryLayer fillBoundaryLayer) { List points = polygon.coordinates().get(0); this.startDrawingPoints(points); return true; + } else if (geometry instanceof MultiPolygon) { + // hide layer + fillBoundaryLayer.disableLayerOnMap(mapboxMap); + + MultiPolygon multiPolygon = (MultiPolygon) geometry; + for (List> polygonCoordinates : multiPolygon.coordinates()) { + List points = polygonCoordinates.get(0); + this.startDrawingPoints(points); + } + return true; } } From 63a4234db1e2b01571dd0b450bb06cff53cee278 Mon Sep 17 00:00:00 2001 From: richard Date: Mon, 18 May 2020 13:23:53 +0300 Subject: [PATCH 02/10] Add OnFeatureLongClickListener --- .../ona/kujaku/interfaces/IKujakuMapView.java | 20 ++++++++++++++++ .../listeners/OnFeatureLongClickListener.java | 21 +++++++++++++++++ .../io/ona/kujaku/views/KujakuMapView.java | 23 +++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java diff --git a/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java b/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java index 9fd54325d..132165528 100644 --- a/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java +++ b/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java @@ -27,6 +27,7 @@ import io.ona.kujaku.listeners.BoundsChangeListener; import io.ona.kujaku.listeners.LocationClientStartedCallback; import io.ona.kujaku.listeners.OnFeatureClickListener; +import io.ona.kujaku.listeners.OnFeatureLongClickListener; import io.ona.kujaku.listeners.TrackingServiceListener; import io.ona.kujaku.location.KujakuLocation; import io.ona.kujaku.services.configurations.TrackingServiceUIConfiguration; @@ -188,6 +189,25 @@ public interface IKujakuMapView extends IKujakuMapViewLowLevel { */ void setOnFeatureClickListener(@NonNull OnFeatureClickListener onFeatureClickListener, @Nullable Expression expressionFilter, @Nullable String... layerIds); + /** + * Sets an {@link OnFeatureClickListener} which will be fired when a feature on the map in either of the {@code layerIds} + * is long touched/clicked + * + * @param onFeatureLongClickListener + * @param layerIds + */ + void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener onFeatureLongClickListener, @Nullable String... layerIds); + + /** + * Sets an {@link OnFeatureClickListener} which will be fired when a feature on the map in either of the {@code layerIds} + * is long touched/clicked and/or fulfilling the filter defined in {@code filter} + * + * @param onFeatureLongClickListener + * @param expressionFilter + * @param layerIds + */ + void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener onFeatureLongClickListener, @Nullable Expression expressionFilter, @Nullable String... layerIds); + /** * Checks if the map warms GPS(this just means the location service that is going to be used). * Warming the GPS in this case means that it starts the location services as soon as you open diff --git a/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java b/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java new file mode 100644 index 000000000..e07bcf69f --- /dev/null +++ b/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java @@ -0,0 +1,21 @@ +package io.ona.kujaku.listeners; + +import com.mapbox.geojson.Feature; + +import java.util.List; + +/** + * Created by Richard Kareko on 5/18/20. + */ + +public interface OnFeatureLongClickListener { + + /** + * Called when a features(s) is long clicked on the map and adheres to params passed in + * {@link io.ona.kujaku.views.KujakuMapView#setOnFeatureClickListener(OnFeatureClickListener, String...)} + * or {@link io.ona.kujaku.views.KujakuMapView#setOnFeatureClickListener(OnFeatureClickListener, com.mapbox.mapboxsdk.style.expressions.Expression, String...)} + * + * @param features + */ + void onFeatureLongClick(List features); +} diff --git a/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java b/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java index 41f5725fb..b8b3f201f 100644 --- a/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java +++ b/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java @@ -74,6 +74,7 @@ import io.ona.kujaku.listeners.BoundsChangeListener; import io.ona.kujaku.listeners.LocationClientStartedCallback; import io.ona.kujaku.listeners.OnFeatureClickListener; +import io.ona.kujaku.listeners.OnFeatureLongClickListener; import io.ona.kujaku.listeners.OnKujakuLayerClickListener; import io.ona.kujaku.listeners.OnKujakuLayerLongClickListener; import io.ona.kujaku.listeners.OnLocationChanged; @@ -164,6 +165,7 @@ public class KujakuMapView extends MapView implements IKujakuMapView, MapboxMap. private BoundsChangeListener boundsChangeListener; private OnFeatureClickListener onFeatureClickListener; + private OnFeatureLongClickListener onFeatureLongClickListener; private String[] featureClickLayerIdFilters; private Expression featureClickExpressionFilter; @@ -829,6 +831,18 @@ public void setOnFeatureClickListener(@NonNull OnFeatureClickListener onFeatureC this.featureClickExpressionFilter = expressionFilter; } + @Override + public void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener onFeatureLongClickListener, @Nullable String... layerIds) { + this.setOnFeatureLongClickListener(onFeatureLongClickListener, null, layerIds); + } + + @Override + public void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener onFeatureLongClickListener, @Nullable Expression expressionFilter, @Nullable String... layerIds) { + this.onFeatureLongClickListener = onFeatureLongClickListener; + this.featureClickLayerIdFilters = layerIds; + this.featureClickExpressionFilter = expressionFilter; + } + /** * Set listener when pressing a KujakuLayer * @@ -1124,6 +1138,15 @@ public boolean onMapClick(@NonNull LatLng point) { public boolean onMapLongClick(@NonNull LatLng point) { PointF pixel = mapboxMap.getProjection().toScreenLocation(point); + if (onFeatureLongClickListener != null) { + List features = mapboxMap.queryRenderedFeatures(pixel, featureClickExpressionFilter, featureClickLayerIdFilters); + + if (features.size() > 0) { + onFeatureLongClickListener.onFeatureLongClick(features); + } + } + + if (onKujakuLayerLongClickListener != null) { KujakuLayer layer = KujakuLayer.getKujakuLayerSelected(pixel, kujakuLayers, mapboxMap); if (layer != null) { From 79c57a978cff53617698928ffcbd8c2e05d2e0aa Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 20 May 2020 10:28:13 +0300 Subject: [PATCH 03/10] Added startDrawingWithExistingMultipolygonLayer test --- .../kujaku/manager/DrawingManagerTest.java | 32 +++++++++++++++++-- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java b/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java index 358969f68..1fb57fed0 100644 --- a/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java +++ b/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java @@ -2,6 +2,7 @@ import com.mapbox.geojson.Feature; import com.mapbox.geojson.FeatureCollection; +import com.mapbox.geojson.MultiPolygon; import com.mapbox.geojson.Point; import com.mapbox.geojson.Polygon; import com.mapbox.mapboxsdk.geometry.LatLng; @@ -78,7 +79,26 @@ public void startDrawingWithPoints() { @Test public void startDrawingWithExistingLayer() { - manager.startDrawing(getFillBoundaryLayer()); + manager.startDrawing(getFillBoundaryLayer(true)); + + Assert.assertTrue(manager.isDrawingEnabled()); + Assert.assertNull(manager.getCurrentKujakuCircle()); + // Middle Circles created between each point + Assert.assertEquals(8, manager.getKujakuCircles().size()); + + Assert.assertFalse(manager.getKujakuCircles().get(0).isMiddleCircle()); + Assert.assertTrue(manager.getKujakuCircles().get(1).isMiddleCircle()); + Assert.assertFalse(manager.getKujakuCircles().get(2).isMiddleCircle()); + Assert.assertTrue(manager.getKujakuCircles().get(3).isMiddleCircle()); + Assert.assertFalse(manager.getKujakuCircles().get(4).isMiddleCircle()); + Assert.assertTrue(manager.getKujakuCircles().get(5).isMiddleCircle()); + Assert.assertFalse(manager.getKujakuCircles().get(6).isMiddleCircle()); + Assert.assertTrue(manager.getKujakuCircles().get(7).isMiddleCircle()); + } + + @Test + public void startDrawingWithExistingMultipolygonLayer() { + manager.startDrawing(getFillBoundaryLayer(false)); Assert.assertTrue(manager.isDrawingEnabled()); Assert.assertNull(manager.getCurrentKujakuCircle()); @@ -206,10 +226,11 @@ public void areMiddleCircles() { Assert.assertTrue(manager.getKujakuCircles().get(7).isMiddleCircle()); } - private FillBoundaryLayer getFillBoundaryLayer() { + private FillBoundaryLayer getFillBoundaryLayer(boolean isPolygon) { List features = new ArrayList(); List> lists = new ArrayList<>(); List points = new ArrayList<>(); + Polygon polygon = null; points.add(Point.fromLngLat(-11,15)); points.add(Point.fromLngLat(-5,15)); @@ -217,7 +238,12 @@ private FillBoundaryLayer getFillBoundaryLayer() { points.add(Point.fromLngLat(-11,11)); lists.add(points); - features.add(Feature.fromGeometry(Polygon.fromLngLats(lists))); + polygon = Polygon.fromLngLats(lists); + if (!isPolygon) { + features.add(Feature.fromGeometry(polygon)); + } else { + features.add(Feature.fromGeometry(MultiPolygon.fromPolygon(polygon))); + } FeatureCollection featureCollection = FeatureCollection.fromFeatures(features); FillBoundaryLayer.Builder builder = new FillBoundaryLayer.Builder(featureCollection); From 2edc61fd37ecf54bcb4d0097f9a5dad7553f54af Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 20 May 2020 11:01:56 +0300 Subject: [PATCH 04/10] Added setOnFeatureLongClickListener test --- .../io/ona/kujaku/views/KujakuMapViewTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java b/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java index 2c5891e24..17d1ec3db 100644 --- a/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java +++ b/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java @@ -24,12 +24,14 @@ import io.ona.kujaku.BaseTest; import io.ona.kujaku.interfaces.ILocationClient; import io.ona.kujaku.listeners.LocationClientStartedCallback; +import io.ona.kujaku.listeners.OnFeatureLongClickListener; import io.ona.kujaku.location.clients.GoogleLocationClient; import io.ona.kujaku.test.shadows.ShadowKujakuMapView; import io.ona.kujaku.test.shadows.ShadowMapView; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertFalse; +import static org.junit.Assert.assertNull; import static org.junit.Assert.assertTrue; /** @@ -186,4 +188,16 @@ public void getLocationClientShouldCallCallbackWhenLocationClientIsNullAndWarmLo .onStarted(Mockito.any(ILocationClient.class)); assertEquals(0, callbacks.size()); } + + @Test + public void setOnFeatureLongClickListener() { + assertNull(ReflectionHelpers.getField(kujakuMapView,"onFeatureLongClickListener")); + assertNull(ReflectionHelpers.getField(kujakuMapView,"featureClickLayerIdFilters")); + OnFeatureLongClickListener onFeatureLongClickListenerMock = Mockito.mock(OnFeatureLongClickListener.class); + String[] layerIds = {"id1"}; + + kujakuMapView.setOnFeatureLongClickListener(onFeatureLongClickListenerMock, layerIds); + assertEquals(onFeatureLongClickListenerMock, ReflectionHelpers.getField(kujakuMapView,"onFeatureLongClickListener")); + assertEquals(layerIds, ReflectionHelpers.getField(kujakuMapView,"featureClickLayerIdFilters")); + } } From cc9ad5dac52b3499ce1e92556ab0a51d1f744552 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 20 May 2020 14:40:35 +0300 Subject: [PATCH 05/10] Bump up version --- library/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/build.gradle b/library/build.gradle index 20e3c0211..ecc540932 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -21,7 +21,7 @@ apply plugin: 'realm-android' apply plugin: 'com.jfrog.bintray' apply plugin: 'maven-publish' -version '0.8.5' +version '0.8.6' project.version = this.version From 9ca58e14fb7b5cb6df808c72d3e0e8ef399df1e8 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 20 May 2020 15:02:22 +0300 Subject: [PATCH 06/10] Update java docs Use different variables for layerIdFilters and expresionfilters --- .../java/io/ona/kujaku/interfaces/IKujakuMapView.java | 4 ++-- .../ona/kujaku/listeners/OnFeatureLongClickListener.java | 8 +++++--- .../src/main/java/io/ona/kujaku/views/KujakuMapView.java | 9 ++++++--- 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java b/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java index 132165528..b0f47ff3b 100644 --- a/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java +++ b/library/src/main/java/io/ona/kujaku/interfaces/IKujakuMapView.java @@ -190,7 +190,7 @@ public interface IKujakuMapView extends IKujakuMapViewLowLevel { void setOnFeatureClickListener(@NonNull OnFeatureClickListener onFeatureClickListener, @Nullable Expression expressionFilter, @Nullable String... layerIds); /** - * Sets an {@link OnFeatureClickListener} which will be fired when a feature on the map in either of the {@code layerIds} + * Sets an {@link OnFeatureLongClickListener} which will be fired when a feature on the map in either of the {@code layerIds} * is long touched/clicked * * @param onFeatureLongClickListener @@ -199,7 +199,7 @@ public interface IKujakuMapView extends IKujakuMapViewLowLevel { void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener onFeatureLongClickListener, @Nullable String... layerIds); /** - * Sets an {@link OnFeatureClickListener} which will be fired when a feature on the map in either of the {@code layerIds} + * Sets an {@link OnFeatureLongClickListener} which will be fired when a feature on the map in either of the {@code layerIds} * is long touched/clicked and/or fulfilling the filter defined in {@code filter} * * @param onFeatureLongClickListener diff --git a/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java b/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java index e07bcf69f..cbdc21430 100644 --- a/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java +++ b/library/src/main/java/io/ona/kujaku/listeners/OnFeatureLongClickListener.java @@ -1,5 +1,7 @@ package io.ona.kujaku.listeners; +import android.support.annotation.NonNull; + import com.mapbox.geojson.Feature; import java.util.List; @@ -12,10 +14,10 @@ public interface OnFeatureLongClickListener { /** * Called when a features(s) is long clicked on the map and adheres to params passed in - * {@link io.ona.kujaku.views.KujakuMapView#setOnFeatureClickListener(OnFeatureClickListener, String...)} - * or {@link io.ona.kujaku.views.KujakuMapView#setOnFeatureClickListener(OnFeatureClickListener, com.mapbox.mapboxsdk.style.expressions.Expression, String...)} + * {@link io.ona.kujaku.views.KujakuMapView#setOnFeatureLongClickListener(OnFeatureLongClickListener, String...)} + * or {@link io.ona.kujaku.views.KujakuMapView#setOnFeatureLongClickListener(OnFeatureLongClickListener, com.mapbox.mapboxsdk.style.expressions.Expression, String...)} * * @param features */ - void onFeatureLongClick(List features); + void onFeatureLongClick(@NonNull List features); } diff --git a/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java b/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java index b8b3f201f..c7c3ff6d7 100644 --- a/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java +++ b/library/src/main/java/io/ona/kujaku/views/KujakuMapView.java @@ -169,6 +169,9 @@ public class KujakuMapView extends MapView implements IKujakuMapView, MapboxMap. private String[] featureClickLayerIdFilters; private Expression featureClickExpressionFilter; + private String[] featureLongClickLayerIdFilters; + private Expression featureLongClickExpressionFilter; + private OnKujakuLayerClickListener onKujakuLayerClickListener; private OnKujakuLayerLongClickListener onKujakuLayerLongClickListener; @@ -839,8 +842,8 @@ public void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener on @Override public void setOnFeatureLongClickListener(@NonNull OnFeatureLongClickListener onFeatureLongClickListener, @Nullable Expression expressionFilter, @Nullable String... layerIds) { this.onFeatureLongClickListener = onFeatureLongClickListener; - this.featureClickLayerIdFilters = layerIds; - this.featureClickExpressionFilter = expressionFilter; + this.featureLongClickLayerIdFilters = layerIds; + this.featureLongClickExpressionFilter = expressionFilter; } /** @@ -1139,7 +1142,7 @@ public boolean onMapLongClick(@NonNull LatLng point) { PointF pixel = mapboxMap.getProjection().toScreenLocation(point); if (onFeatureLongClickListener != null) { - List features = mapboxMap.queryRenderedFeatures(pixel, featureClickExpressionFilter, featureClickLayerIdFilters); + List features = mapboxMap.queryRenderedFeatures(pixel, featureLongClickExpressionFilter, featureLongClickLayerIdFilters); if (features.size() > 0) { onFeatureLongClickListener.onFeatureLongClick(features); From 091753e4b0fae190abf0e54782645dd4730d394e Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 20 May 2020 16:04:05 +0300 Subject: [PATCH 07/10] Fix failing test --- .../src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java b/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java index 17d1ec3db..2a233c7b9 100644 --- a/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java +++ b/library/src/test/java/io/ona/kujaku/views/KujakuMapViewTest.java @@ -192,12 +192,12 @@ public void getLocationClientShouldCallCallbackWhenLocationClientIsNullAndWarmLo @Test public void setOnFeatureLongClickListener() { assertNull(ReflectionHelpers.getField(kujakuMapView,"onFeatureLongClickListener")); - assertNull(ReflectionHelpers.getField(kujakuMapView,"featureClickLayerIdFilters")); + assertNull(ReflectionHelpers.getField(kujakuMapView,"featureLongClickLayerIdFilters")); OnFeatureLongClickListener onFeatureLongClickListenerMock = Mockito.mock(OnFeatureLongClickListener.class); String[] layerIds = {"id1"}; kujakuMapView.setOnFeatureLongClickListener(onFeatureLongClickListenerMock, layerIds); assertEquals(onFeatureLongClickListenerMock, ReflectionHelpers.getField(kujakuMapView,"onFeatureLongClickListener")); - assertEquals(layerIds, ReflectionHelpers.getField(kujakuMapView,"featureClickLayerIdFilters")); + assertEquals(layerIds, ReflectionHelpers.getField(kujakuMapView,"featureLongClickLayerIdFilters")); } } From 08561cd17535c685a9854731957c2a43ef28e5c4 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 9 Jun 2020 18:41:58 +0300 Subject: [PATCH 08/10] Bump up version --- library/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/build.gradle b/library/build.gradle index 1f5f29777..1b94cc2f4 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -21,7 +21,7 @@ apply plugin: 'realm-android' apply plugin: 'com.jfrog.bintray' apply plugin: 'maven-publish' -version '0.8.7' +version '0.8.8-ALPHA1' project.version = this.version From 149d623fa4a66eb149c09c611b966c3f2d40a986 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 22 Jul 2020 15:31:14 +0300 Subject: [PATCH 09/10] Add unsetCurrentCircleDraggable test --- .../io/ona/kujaku/manager/DrawingManagerTest.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java b/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java index 1fb57fed0..d12e6ac11 100644 --- a/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java +++ b/library/src/test/java/io/ona/kujaku/manager/DrawingManagerTest.java @@ -226,6 +226,18 @@ public void areMiddleCircles() { Assert.assertTrue(manager.getKujakuCircles().get(7).isMiddleCircle()); } + @Test + public void unSetCurrentCircleDraggable() { + manager.create(DrawingManager.getKujakuCircleOptions().withLatLng(new LatLng(1,1))); + Circle circle = manager.getKujakuCircles().get(0).getCircle(); + manager.setDraggable(true, circle); + + Assert.assertTrue(manager.getCurrentKujakuCircle().getCircle().isDraggable()); + manager.unsetCurrentCircleDraggable(); + Assert.assertNull(manager.getCurrentKujakuCircle()); + } + + private FillBoundaryLayer getFillBoundaryLayer(boolean isPolygon) { List features = new ArrayList(); List> lists = new ArrayList<>(); From c017036e3dea589930affb7122f6d207b5d19f04 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 22 Jul 2020 15:35:00 +0300 Subject: [PATCH 10/10] Update build version --- library/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/build.gradle b/library/build.gradle index 1b94cc2f4..9cf94fd03 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -21,7 +21,7 @@ apply plugin: 'realm-android' apply plugin: 'com.jfrog.bintray' apply plugin: 'maven-publish' -version '0.8.8-ALPHA1' +version '0.8.8' project.version = this.version