Advertisement
Mashudi

ModelKategori

May 16th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 0.45 KB | None | 0 0
  1. package com.example.masrobot.klikpesanantar.MainApp.Model
  2.  
  3. import com.google.firebase.database.IgnoreExtraProperties
  4.  
  5.  
  6. @IgnoreExtraProperties
  7. class Kategori {
  8.  
  9.     var nama: String? = null
  10.     var img: String? = null
  11.  
  12.     constructor() {
  13.         // Default constructor required for calls to DataSnapshot.getValue(Kategori.class)
  14.     }
  15.  
  16.     constructor(nama: String?, img: String?) {
  17.         this.nama = nama
  18.         this.img = img
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement