-
Notifications
You must be signed in to change notification settings - Fork 3
TweetRowView
The view used to render each row of TweetListView.
This view is used by TweetListView to render its rows. You can also use it directly using the <tweetRowView>
tag.
TODO: Add direct usage instructions.
This view defines the following action categories:
TWEET_MENU_ACTIONS
-
Actions to be rendered in the tweet’s overflow menu.
TWEET_ACTIONS
-
Actions to be rendered below the tweet.
TWEET_CLICKED
-
Action fired when tweet is clicked.
TWEET_CLICKED_MENU
-
Actions to be displayed in menu that is shown when the tweet is clicked.
TWEET_LONG_PRESS
-
Action fired when tweet is long pressed.
TWEET_LONG_PRESS_MENU
-
Actions to be displayed in menu that is shown when the tweet is long pressed.
TWEET_AUTHOR_CLICKED
-
Action fired when author is clicked.
TWEET_AUTHOR_LONG_PRESS
-
Action fired when author is long pressed.
TWEET_AUTHOR_CLICKED_MENU
-
Actions displayed in menu when author is clicked.
TWEET_AUTHOR_LONG_PRESS_MENU
-
Actions displayed in menu when author is long clicked.
The style of this view can be customized using CSS. The following UIIDs are used:
TweetAuthorName
-
Style for rendering the author name.
TweetAuthorID
-
Style for rendering the author ID (i.e. "@MyUserid")
TweetPostTime
-
Style for rendering the post time of the tweet.
TweetReplyingToButton
-
Used for rendering "replying to button", which is only displayed if the tweet is posted in reply to another tweet.
TweetOverflowMenu
-
Used for rendering the overflow menu button.
TweetReplyToLabel
-
Used for rendering the replying to label.
TweetBody
-
Used for rendering the container that wraps the main body of the tweet.
TweetBodyText
-
Used for rendering the tweet’s text.
TweetRowMainColumn
-
Styles the container that is used for the main column (i.e. the column with all of the content and image).
TweetRowLeftColumn
-
Used for the left column container. E.g. containing the author icon.
TweetRowDot
-
Used for rendering a "dot" between some of the fields in the view.