Skip to content

Instantly share code, notes, and snippets.

View Shamyyoun's full-sized avatar

Mahmoud Elshamy Shamyyoun

View GitHub Profile
@thanksmister
thanksmister / EllipsisTextView.java
Created October 16, 2012 23:10
Adds listener to Android TextView when text has ellipsis.
/**
* Author: Michael Ritchie, ThanksMister LLC
* Date: 10/16/12
* Web: thanksmister.com
*
* Extension of <code>TextView</code> that adds listener for ellipses changes. This can be used to determine
* if a TextView has an ellipses or not.
*
* Derived from discussion on StackOverflow:
*