Mark M. |
how can I help you today?
|
Peri H. |
It's been a while. I have a couple issues which I've not made good headway.
|
Peri H. |
One is a SO post - flicker from addView to Linear Layout
|
Peri H. |
So, I'm doing a simplified version of ListView.
Which begs the question "why"? That's because I could not get ListView
to optially call getView. I think my layers of views are the culprit -
but I need them. The net effect is that getView was called many more
times than necessary. Anyway back to addView.
|
Peri H. |
The sequence is to call AddView to insert a view
when the user scrolls the viewport up (swipes down). As he does this,
we scroll off the top of the list, so addView must be called to insert a
new view "just in time". At the same moment, I need to adjust the
scroll position to compensate for the shift of other views.
|
Mark M. |
not especially, and I can all but guarantee that I will be of no use on your question
|
Mark M. |
this level of custom views is outside my areas of expertise
|
Peri H. |
Ok, let's try question 2.
|
Peri H. |
I have had trouble with Eclipse and Android SDK
installations for many months. The problem is that my jar apparently
doesn't exactly match the source code.
|
Peri H. |
So, when I debug into Android source, the instruction pointer ends up some number of lines off the actual code.
|
Mark M. |
AFAIK, this will only work if you are running on
an emulator (or ROM) that happens to use a framework.jar that matches
whatever source you have attached
|
Mark M. |
I have never attached the Android source to Eclipse, so there may be some additional tricks here of which I am unaware
|
Peri H. |
I don't follow. Are you saying that each OEM modifies the Android source - not just the skins?
|
Mark M. |
that's the whole point behind the CDD and CTS -- to make sure they do not screw up too badly when making such modifications
|
Peri H. |
Is there any way to get matching source? I'm mostly using a Nexus 7.
|
Mark M. |
CDD = Compatibility Definition Document
|
Mark M. |
CTS = Compatibility Test Suite
|