Last active
April 26, 2016 15:54
-
-
Save nathanjones/7e69dee6ad7766ce279916b13b2df336 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// As an enum | |
public enum MessageViewType { | |
Text, Image, Location | |
} | |
// Or as a list of integers, if you prefer | |
public static final int MESSAGE_VIEW_TYPE_TEXT = 0; | |
public static final int MESSAGE_VIEW_TYPE_IMAGE = 1; | |
public static final int MESSAGE_VIEW_TYPE_LOCATION = 2; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment