Code example for RemoteViews

Methods: setTextViewText

0
 
	@Override 
	protected void setTextViewText(int viewId, String text) {
		super.setTextViewText(viewId, text);
		if (mExpandedView != null) {
			mExpandedView.setTextViewText(viewId, text);
		} 
	} 
 
	@Override 
	protected void setViewEnabled(int viewId, boolean enabled) {
		if (mExpandedView != null) {
			mExpandedView.setBoolean(viewId, "setEnabled", enabled);
		} 
		super.setViewEnabled(viewId, enabled);
	} 
 
	@Override 
	protected void setViewVisibility(int viewId, int visible) {
		if (mExpandedView != null) {
			mExpandedView.setViewVisibility(viewId, visible);