Update IDrawerProfile

This commit is contained in:
kubasz 2020-01-03 10:04:45 +01:00
parent 8b31921697
commit 9c8fb47c52
2 changed files with 4 additions and 4 deletions

View File

@ -17,8 +17,8 @@ import pl.szczodrzynski.navlib.getDrawableFromRes
Example IDrawerProfile implementation
*/
class DrawerProfile(
override var id: Int,
override var name: String?,
override val id: Int,
override var name: String,
override var subname: String?,
override var image: String?
) : IDrawerProfile {

View File

@ -6,8 +6,8 @@ import android.widget.ImageView
import pl.szczodrzynski.navlib.ImageHolder
interface IDrawerProfile {
var id: Int
var name: String?
val id: Int
var name: String
var subname: String?
var image: String?