package com.sedsoftware.yaptalker.presentation.features.search

import com.arellomobile.mvp.viewstate.strategy.AddToEndStrategy
import com.arellomobile.mvp.viewstate.strategy.SingleStateStrategy
import com.arellomobile.mvp.viewstate.strategy.SkipStrategy
import com.arellomobile.mvp.viewstate.strategy.StateStrategyType
import com.sedsoftware.yaptalker.presentation.base.BaseView
import com.sedsoftware.yaptalker.presentation.model.YapEntity

@StateStrategyType(SkipStrategy::class)
interface SearchView : BaseView {

  @StateStrategyType(AddToEndStrategy::class)
  fun appendSearchResultsTopicItem(topic: YapEntity)

  @StateStrategyType(SingleStateStrategy::class)
  fun clearSearchResultsList()

  fun updateCurrentUiState()
}

Define search view for mvp
Define search view for mvp

djkovrik/YapTalker,djkovrik/YapTalker