File tree Expand file tree Collapse file tree 4 files changed +9
-2
lines changed
src/main/java/com/mapbox/maps Expand file tree Collapse file tree 4 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ public abstract interface class com/mapbox/maps/MapControllable : com/mapbox/map
1616}
1717
1818public final class com/mapbox/maps/MapControllable$DefaultImpls {
19+ public static fun onResume (Lcom/mapbox/maps/MapControllable;)V
1920 public static synthetic fun queueEvent$default (Lcom/mapbox/maps/MapControllable;Ljava/lang/Runnable;ZILjava/lang/Object;)V
2021}
2122
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ package com.mapbox.maps {
121121 public interface MapboxLifecycleObserver {
122122 method public void onDestroy();
123123 method public void onLowMemory();
124- method public void onResume();
124+ method public default void onResume();
125125 method public void onStart();
126126 method public void onStop();
127127 }
Original file line number Diff line number Diff line change @@ -146,6 +146,10 @@ public abstract interface class com/mapbox/maps/MapboxLifecycleObserver {
146146 public abstract fun onStop ()V
147147}
148148
149+ public final class com/mapbox/maps/MapboxLifecycleObserver$DefaultImpls {
150+ public static fun onResume (Lcom/mapbox/maps/MapboxLifecycleObserver;)V
151+ }
152+
149153public final class com/mapbox/maps/MapboxLocationComponentException : java/lang/RuntimeException {
150154 public fun <init> (Ljava/lang/String;)V
151155}
Original file line number Diff line number Diff line change @@ -27,5 +27,7 @@ interface MapboxLifecycleObserver {
2727 /* *
2828 * Called when the activity is resumed
2929 */
30- fun onResume ()
30+ fun onResume () {
31+ // Default empty implementation for backward compatibility
32+ }
3133}
You can’t perform that action at this time.
0 commit comments