public interface

SliceViewPolicy.PolicyChangeListener

 androidx.slice.widget.SliceViewPolicy.PolicyChangeListener

Subclasses:

TemplateView

Overview

Implement this to find out about different view configuration changes.

Summary

Methods
public voidonMaxHeightChanged(int newNewHeight)

Notified when available height changes.

public voidonMaxSmallChanged(int newMaxSmallHeight)

Notified when max small height changes.

public voidonModeChanged(int newMode)

Notified when mode changes.

public voidonScrollingChanged(boolean newScrolling)

Notified when scrolling policy changes.

Methods

public void onScrollingChanged(boolean newScrolling)

Notified when scrolling policy changes.

public void onMaxHeightChanged(int newNewHeight)

Notified when available height changes.

public void onMaxSmallChanged(int newMaxSmallHeight)

Notified when max small height changes.

public void onModeChanged(int newMode)

Notified when mode changes.