how to know from adapter if the item of ListView is visible or not?

后端 未结 3 1716
终归单人心
终归单人心 2021-02-19 15:00

I have an adapter that connected to ListView, e.g.

mJournalAdapter = new JournalAdapter();
journalEntryList.setAdapter(mJournalAdapter);

and I

3条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-19 15:35

    You can get callback , overriding OnDetachedFromWindow(); method in View

提交回复
热议问题