lightbulb_outline Please take our October 2018 developer survey. Start survey
added in version 1.0.0
belongs to Maven artifact androidx.slice:slice-view:1.0.0

SliceStructure

public class SliceStructure
extends Object

java.lang.Object
   ↳ androidx.slice.SliceStructure


Class used to see if two Slices are structurally equivalent ignoring specific content such as text or icons. Two structures can be compared using equals(Object).

Summary

Public constructors

SliceStructure(Slice s)

Create a SliceStructure.

Public methods

boolean equals(Object obj)
int hashCode()

Inherited methods

Public constructors

SliceStructure

added in version 1.0.0
public SliceStructure (Slice s)

Create a SliceStructure.

Parameters
s Slice

Public methods

equals

public boolean equals (Object obj)

Parameters
obj Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int