Skip to content

Instantly share code, notes, and snippets.

@javipacheco
Created November 9, 2017 13:36
Show Gist options
  • Save javipacheco/bd8cd238442e2a6d99471576ef6732ae to your computer and use it in GitHub Desktop.
Save javipacheco/bd8cd238442e2a6d99471576ef6732ae to your computer and use it in GitHub Desktop.
NewsUiService
package rekkit.ui.news
import akme.Service
import rekkit.models.States
import kategory.ListKW
interface NewsUiService {
fun showLoading(): Service<Unit>
fun showNews(items: ListKW<States.NewsItemState>): Service<Unit>
fun showMessage(item: NewsMessageItems): Service<Unit>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment