summaryrefslogtreecommitdiff
path: root/sample/src/com/example/bitmapsample/MainActivity.java
diff options
context:
space:
mode:
Diffstat (limited to 'sample/src/com/example/bitmapsample/MainActivity.java')
-rw-r--r--sample/src/com/example/bitmapsample/MainActivity.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/sample/src/com/example/bitmapsample/MainActivity.java b/sample/src/com/example/bitmapsample/MainActivity.java
index cd8f6ac..5a2ac3a 100644
--- a/sample/src/com/example/bitmapsample/MainActivity.java
+++ b/sample/src/com/example/bitmapsample/MainActivity.java
@@ -118,11 +118,10 @@ public class MainActivity extends Activity {
final ExtendedBitmapDrawable drawable = new ExtendedBitmapDrawable(getResources(),
mCache, true /* limit density */, opts);
- v.setBasicBitmapDrawable(drawable);
+ v.setTypedDrawable(drawable);
v.setListView(mListView);
- v.setParallaxSpeedMultiplier(NORMAL_PARALLAX_MULTIPLIER);
}
- v.getBasicBitmapDrawable().bind(new BitmapRequestKeyImpl(mItems[position]));
+ v.getTypedDrawable().bind(new BitmapRequestKeyImpl(mItems[position]));
return v;
}
}