I have an adapter that connected to ListView, e.g.
mJournalAdapter = new JournalAdapter();
journalEntryList.setAdapter(mJournalAdapter);
and I want to know inside of my JournalAdapter
if some view (item of ListView) is visible or not, is it possible?
If you know the postion of that item then you can use
You can get callback , overriding
OnDetachedFromWindow()
; method in ViewYou can use
getFirstVisiblePosition()
will give you the first visible Item in the ListView, so you can use that in your case.