Navigation uchun animation shunday beriladi action ichiga enterAnim va exitAnim orqali.
val clipboardManager = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
val data2 = ClipData.newPlainText("","Salom/Hello")
clipboardManager.setPrimaryClip(data2)
Nusxa olish uchun shu ishlatiladi.
var treeSet = TreeSet<String>()
bu ham array faqat bu alifbo tartibi bo’yicha chiqarib beradi.
var hashSet = HashSet<String>()
BUNI O’RGANISH KERAK
var hashMap = HashMap<String,String>()
hashMap["like"] = "Yoqtirmo"
hashMap.put("car","Mashina")
hashMap bu key orqali qo’shadigon array turi bo’lib unda key orqai yoki value orqali chiqarish mumkin.
Bunda qo’shishning ikki xil yo’li bor 1 va 2
1 hashMap["like"] = "Yoqtirmo"
2 hashMap.put("car","Mashina")
println(hashMap.get("like"))
print qilish esa shu
Do'stlaringiz bilan baham: |