I use Handler and I would like to count the number of messages waiting. However, I do not see a method that allows me to get this information.
Is it possible?
It seems like hasMessages(int what) , why not expose something like getMessageCount(int what) ?
source share