[問題] class之間傳值問題
我的兩個class一個是繼承Activity
另一個是繼承View,然後我想從Activity用button傳值到View
我上網有查到一個方法 Intent和,Bundle
但是這似乎是只能在兩個Activity間戶傳...因為在View內無法使用Intent的函式..
請問有什麼其它辦法可以從Activity傳到View嗎?
--
Sent from my Android
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.125.216.116
→
10/24 14:40, , 1F
10/24 14:40, 1F
→
10/24 17:37, , 2F
10/24 17:37, 2F
有了 非常感謝
※ 編輯: AZHI 來自: 123.205.97.25 (10/25 00:07)