I'm not clear on how a custom view implementation can observe changes to an
adapter, and I'm having trouble finding an example. I understand how to do
this with a ListView, etc, but how to do it with my own custom scroll view
???
--
--
You received this message because you are subscribed to
right, so using an animation is another approach I have notes about. The
idea there is to use a Scroller to perform callback animating for the
various changes that are needed as the scroll happens, right?
The things is, it's not like I have any issues with the current approach,
except that the
Full relevant code:
@Override
protected void onScrollChanged(int l, int t, int oldl, int oldt) {
super.onScrollChanged(l, t, oldl, oldt);
//Log.v("SCROLL", String.valueOf(l));
adjustImageSizes();
}
private void adjustImageSizes(){
int width = getWidth();
int[] views = { R.id.ima
I'm using setLayoutParams on some images in a HorizontalScrollView to
change their size as they scroll past. This seems to work fine, until I
hit one of the boundaries, then all the imageViews stop responding to
setLayoutParams. They are locked in at their last size. Monitoring my
code, I c
Greetings! I'm trying to implement something like the 'music album
scroller' interface in iTunes, but on an Android device. I've attached an
image that describes the interface I'm looking for. Has anyone see an open
source implementation of something similar, or what would an ideal approach
5 matches
Mail list logo