smoothScrollToAppInfo

fun smoothScrollToAppInfo(appInfo: AppInfo, induce: Boolean = false): Long(source)

Smoothly scrolls the list to the item corresponding to the given AppInfo.

Return

The item ID of the scrolled to application, or -1L if not found.

Parameters

appInfo

The application info to scroll to.

induce

True to induced animation on the item simulating a "press", false otherwise.