getItemViewType
Finds the first factory that is capable of displaying the given attachment and return a view type associated with the factory.
Parameters
attachment
The attachment to display.
Finds the first factory that is capable of displaying the given attachment and return a view type associated with the factory.
The attachment to display.