We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4966ee0 commit b765508Copy full SHA for b765508
find-route/src/main/java/com/esri/arcgismaps/sample/findroute/MainActivity.kt
@@ -132,7 +132,7 @@ class MainActivity : AppCompatActivity() {
132
*/
133
private suspend fun solveRoute() {
134
// set the applicationContext as it is required with RouteTask
135
- ArcGISEnvironment.applicationContext = this@MainActivity
+ ArcGISEnvironment.applicationContext = applicationContext
136
// create a route task instance
137
val routeTask =
138
RouteTask(
0 commit comments