App: defaultNavHost="true"


Navigation uchun animation shunday beriladi action ichiga enterAnim va exitAnim orqali


Download 80.39 Kb.
bet4/4
Sana24.03.2023
Hajmi80.39 Kb.
#1290736
1   2   3   4
Bog'liq
My Lessons

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
Download 80.39 Kb.

Do'stlaringiz bilan baham:
1   2   3   4




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling