Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in version 1.0.0
belongs to Maven artifact androidx.slice:slice-view:1.0.0-rc01

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