prePurchaseIsEntityAlreadyFavorite

abstract fun prePurchaseIsEntityAlreadyFavorite(entity: DiscoveryAbstractEntity, isFavoriteForMarketHost: TMMarketDomain, completed: (Boolean) -> Unit, context: Context)

Checks if an entity is already marked as a favorite for a specific market.

Parameters

entity

The DiscoveryAbstractEntity to check for favorite status.

isFavoriteForMarketHost

The TMMarketDomain associated with the favorite check.

completed

A callback invoked with a Boolean indicating whether the entity is a favorite.

context

The Context used for the operation.