W3Cschool
恭喜您成為首批注冊(cè)用戶(hù)
獲得88經(jīng)驗(yàn)值獎(jiǎng)勵(lì)
public static interface ListComponent.CachePolicyListener
實(shí)現(xiàn)監(jiān)聽(tīng)以將組件添加到 ListComponentPool。
修飾符和類(lèi)型 | 方法 | 描述 |
---|---|---|
void | onCachePolicy(ComponentOwner owner) | 回收組件時(shí)調(diào)用。代碼 ListComponent 在清除 ComponentOwner 的內(nèi)部數(shù)據(jù)并將組件添加到 ListComponentPool 之前調(diào)用此方法。 |
void onCachePolicy(ComponentOwner owner)
回收組件時(shí)調(diào)用。代碼 ListComponent 在清除 ComponentOwner 的內(nèi)部數(shù)據(jù)并將組件添加到 ListComponentPool 之前調(diào)用此方法。
參數(shù):
參數(shù)名稱(chēng) | 參數(shù)描述 |
---|---|
owner | 表示回收組件的 ComponentOwner。 |
Copyright©2021 w3cschool編程獅|閩ICP備15016281號(hào)-3|閩公網(wǎng)安備35020302033924號(hào)
違法和不良信息舉報(bào)電話:173-0602-2364|舉報(bào)郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號(hào)
聯(lián)系方式:
更多建議: