mirror of
https://github.com/kuba2k2/NavLib.git
synced 2025-01-18 06:16:43 -06:00
Update IDrawerProfile
This commit is contained in:
parent
8b31921697
commit
9c8fb47c52
@ -17,8 +17,8 @@ import pl.szczodrzynski.navlib.getDrawableFromRes
|
|||||||
Example IDrawerProfile implementation
|
Example IDrawerProfile implementation
|
||||||
*/
|
*/
|
||||||
class DrawerProfile(
|
class DrawerProfile(
|
||||||
override var id: Int,
|
override val id: Int,
|
||||||
override var name: String?,
|
override var name: String,
|
||||||
override var subname: String?,
|
override var subname: String?,
|
||||||
override var image: String?
|
override var image: String?
|
||||||
) : IDrawerProfile {
|
) : IDrawerProfile {
|
||||||
|
@ -6,8 +6,8 @@ import android.widget.ImageView
|
|||||||
import pl.szczodrzynski.navlib.ImageHolder
|
import pl.szczodrzynski.navlib.ImageHolder
|
||||||
|
|
||||||
interface IDrawerProfile {
|
interface IDrawerProfile {
|
||||||
var id: Int
|
val id: Int
|
||||||
var name: String?
|
var name: String
|
||||||
var subname: String?
|
var subname: String?
|
||||||
var image: String?
|
var image: String?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user