Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.example.masrobot.klikpesanantar.MainApp.Main
- import android.content.Intent
- import com.example.masrobot.klikpesanantar.BaseContract.View
- import com.example.masrobot.klikpesanantar.MainApp.Model.Kategori
- import com.example.masrobot.klikpesanantar.MainApp.Model.Users
- interface MainView : View {
- // Passing data ke view
- fun refreshKategoriList(kategoris: List<Kategori>)
- // toast jika data gagal di load
- fun toast(message: String)
- // close Drawer
- fun closeDrawer()
- // go to activity
- fun onStartActivity(intent: Intent)
- // show menu item after login
- fun menuItemWithAuth()
- // hide menu item before login
- fun menuItemWithoutAuth()
- // sign In
- fun signIn(requestCode: Int)
- // sign out
- fun signOut()
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement