Check for class cast, add more logging to try to catch NPE.

Part of b/6930375 Crash on Swiping to archive few messages in quick succession

The only way we are going to get a null view when iterating via listitems
is if we return null from getView() in the adapter
Figure out when/ how we do that

Change-Id: I30442219d0139f342780f52932999ed3a6c543c9
1 file changed