Search in sources :

Example 1 with NotificationCenter

use of org.telegram.messenger.NotificationCenter in project Telegram-FOSS by Telegram-FOSS-Team.

the class TrendingStickersLayout method recycle.

public void recycle() {
    final NotificationCenter notificationCenter = NotificationCenter.getInstance(currentAccount);
    notificationCenter.removeObserver(this, NotificationCenter.stickersDidLoad);
    notificationCenter.removeObserver(this, NotificationCenter.featuredStickersDidLoad);
}
Also used : NotificationCenter(org.telegram.messenger.NotificationCenter)

Aggregations

NotificationCenter (org.telegram.messenger.NotificationCenter)1