@@ -9,7 +9,7 @@ import com.mapbox.common.experimental.geofencing.GeofencingFactory
99import com.mapbox.common.experimental.geofencing.GeofencingObserver
1010import com.mapbox.maps.logD
1111import com.mapbox.maps.logW
12- import com.mapbox.maps.testapp.examples.geofence.GeofencingActivity
12+ import com.mapbox.maps.testapp.examples.geofence.ExtendedGeofencingActivity
1313
1414/* *
1515 * Application class of the test application.
@@ -19,29 +19,29 @@ class MapboxApplication : MultiDexApplication() {
1919 private val geofencingObserver: GeofencingObserver = object : GeofencingObserver {
2020
2121 override fun onEntry (event : GeofencingEvent ) {
22- GeofencingActivity .showNotification(
22+ ExtendedGeofencingActivity .showNotification(
2323 this @MapboxApplication,
2424 " Entry into feature id = ${event.feature.id()} at ${event.timestamp} " ,
2525 event.feature.id(),
26- GeofencingActivity .NOTIFICATION_FEATURE_ENTRY
26+ ExtendedGeofencingActivity .NOTIFICATION_FEATURE_ENTRY
2727 )
2828 }
2929
3030 override fun onExit (event : GeofencingEvent ) {
31- GeofencingActivity .showNotification(
31+ ExtendedGeofencingActivity .showNotification(
3232 this @MapboxApplication,
3333 " Exit from feature id = ${event.feature.id()} at ${event.timestamp} " ,
3434 event.feature.id(),
35- GeofencingActivity .NOTIFICATION_FEATURE_EXIT
35+ ExtendedGeofencingActivity .NOTIFICATION_FEATURE_EXIT
3636 )
3737 }
3838
3939 override fun onDwell (event : GeofencingEvent ) {
40- GeofencingActivity .showNotification(
40+ ExtendedGeofencingActivity .showNotification(
4141 this @MapboxApplication,
4242 " Dwell into feature id = ${event.feature.id()} at ${event.timestamp} " ,
4343 event.feature.id(),
44- GeofencingActivity .NOTIFICATION_FEATURE_DWELL
44+ ExtendedGeofencingActivity .NOTIFICATION_FEATURE_DWELL
4545 )
4646 }
4747
0 commit comments