[android-developers] How to observe a cursor

2013-07-16 Thread Wyler Yerrachione
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

Re: [android-developers] setLayoutParams stops working

2013-07-02 Thread Wyler Yerrachione
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

[android-developers] Re: setLayoutParams stops working

2013-07-01 Thread Wyler Yerrachione
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

[android-developers] setLayoutParams stops working

2013-07-01 Thread Wyler Yerrachione
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

[android-developers] Custom album scroller for Android

2013-06-18 Thread Wyler Yerrachione
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