-
public interface BackStackKeyResolver<T extends Object>Resolves a stable key for an item in a back stack. A stable key means that the same item will always return the same key during its lifetime in the back stack, and that two different items should not return the same key.
This is used in com.datadog.android.rum.RumMonitor.startView and com.datadog.android.rum.RumMonitor.stopView as the key to identify items in the back stack and track them as Views in RUM.
-
-
Method Summary
Modifier and Type Method Description abstract StringgetStableKey(T item)Returns a stable key for the given item. -
-
Method Detail
-
getStableKey
abstract String getStableKey(T item)
Returns a stable key for the given item.
- Parameters:
item- the item to get the stable key for.
-
-
-
-