Esri / arcgis-maps-sdk-kotlin-toolkit

ArcGIS Maps SDK for Kotlin Toolkit
Apache License 2.0
14 stars 4 forks source link

Highlight feature results #627

Closed puneet-pdx closed 2 weeks ago

puneet-pdx commented 3 weeks ago

Related to issue: # https://devtopia.esri.com/runtime/kotlin/issues/4828

Description:

We want to select the features returned as elements from a trace operation

Summary of changes:

Pre-merge Checklist

puneet-pdx commented 2 weeks ago

@TADraeseke

If I select a new trace, should all features de-select?

I assume you are going from results tab to the new trace tab? In that case no all features should not de-select as the features on the map that are selected are showing the result that is selected. Once a new trace is done then its results are selected. We don't unselect the results as soon as new trace is navigated to as the user might not want to do a new trace and would like to go back to the results screen.

Tab selection issue repro:

Have a couple trace results Tap new trace. Bottom menu correctly switches to trace configuration, but tab highlight at the top does not. Tap new trace again and switches to results. Tap new trace again and top tab and trace configuration correctly selected

This issue was fixed with a separate PR, this branch didn't have those changes. I have merged the feature branch to this one now. You should not see those issues.