| Mark M. | has entered the room |
| Mark M. | turned on guest access |
| Jul 2 | 10:05 AM |
| Peri H. | has entered the room |
| Mark M. |
hello, Peri!
|
| Mark M. |
how can I help you today?
|
| Peri H. |
Hello Mark.
|
| 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
|
| Jul 2 | 10:10 AM |
| 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.
|
| Peri H. |
Follow?
|
| 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.
|
| Mark M. |
what JAR?
|
| Jul 2 | 10:15 AM |
| Mark M. |
and what source code?
|
| Jul 2 | 10:15 AM |
| Peri H. |
So, when I debug into Android source, the instruction pointer ends up some number of lines off the actual code.
|
| Mark M. |
oh
|
| Peri H. |
The Android JAR
|
| Peri H. |
Se
|
| Peri H. | |
| 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. |
oh, absolutely
|
| 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. |
I have no idea, sorry
|
| Peri H. |
What's CDD and CTS?
|
| Mark M. |
CDD = Compatibility Definition Document
|
| Mark M. |
CTS = Compatibility Test Suite
|
| Mark M. | |
| Peri H. |
Ah. Ok, thanks for now.
|
| Peri H. |
Have a good day, Mark.
|
| Mark M. |
you too!
|
| Peri H. | has left the room |
| Jul 2 | 11:00 AM |
| Mark M. | turned off guest access |