{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LazyLayoutItemProviderKt

public final class LazyLayoutItemProviderKt


Summary

Public methods

static final @NonNull Object

This creates an object meeting following requirements:

Public methods

getDefaultLazyLayoutKey

@ExperimentalFoundationApi
public static final @NonNull Object getDefaultLazyLayoutKey(int index)

This creates an object meeting following requirements:

  1. Objects created for the same index are equals and never equals for different indexes.

  2. This class is saveable via a default SaveableStateRegistry on the platform.

  3. This objects can't be equals to any object which could be provided by a user as a custom key.