epoxy-adapter / com.airbnb.epoxy / EpoxyVisibilityTracker / partialImpressionThresholdPercentage

partialImpressionThresholdPercentage

var partialImpressionThresholdPercentage: Int?

Set the threshold of percentage visible area to identify the partial impression view state.

Parameters

thresholdPercentage - Percentage of visible area of an element in the range 0..100. Defaults to null, which disables VisibilityState.PARTIAL_IMPRESSION_VISIBLE and VisibilityState.PARTIAL_IMPRESSION_INVISIBLE events.