scrollToAppInfo

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

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.

smoothScroll

True to smoothly scroll to the item, false for an immediate jump.