From 3c1056ad0f129211f5598fded4ca2f8ffe77ef94 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sun, 29 Dec 2013 18:25:11 +0100 Subject: #3449: revert debug change --- main/res/layout/cachedetail_description_page.xml | 4 ++-- main/src/cgeo/geocaching/CacheDetailActivity.java | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'main') diff --git a/main/res/layout/cachedetail_description_page.xml b/main/res/layout/cachedetail_description_page.xml index 8325798..dba6789 100644 --- a/main/res/layout/cachedetail_description_page.xml +++ b/main/res/layout/cachedetail_description_page.xml @@ -11,7 +11,7 @@ - - { private final View loadingIndicatorView; - private final TextView descriptionView; + private final IndexOutOfBoundsAvoidingTextView descriptionView; private final String descriptionString; private Spanned description; private final View shortDescView; public LoadDescriptionTask(final String description, final View descriptionView, final View loadingIndicatorView, final View shortDescView) { + assert descriptionView instanceof IndexOutOfBoundsAvoidingTextView; this.descriptionString = description; - assert(descriptionView instanceof TextView); - this.descriptionView = (TextView) descriptionView; + this.descriptionView = (IndexOutOfBoundsAvoidingTextView) descriptionView; this.loadingIndicatorView = loadingIndicatorView; this.shortDescView = shortDescView; } -- cgit v1.1