I'm currently working on an application for quite a few months now
that should target the largest audience possible, all the way down to
2.2. But I'm getting increasingly confused about how exactly I should
deal with the newer Android versions.
I want to be able to use the new features introduced
work.
On Oct 27, 1:21 am, Dianne Hackborn hack...@android.com wrote:
How exactly do you recycle the list view items correctly? This is...
crazy.
On Wed, Oct 26, 2011 at 2:25 AM, Zsombor scythe...@gmail.com wrote:
I have a ViewPager widget in every row of a ListView. This provides
I have a ViewPager widget in every row of a ListView. This provides a
shelf-like UI, so the user can scroll around searching for a shelf
vertically, and then scroll horizontally amongst the contents of a
shelf. This works.
But the scrolling experience is terrible: if I start to drag a shelf's
Is there a callback that gets a call when everything in the current
Activity got rendered?
Because I need to know the exact sizes of some of my ViewGroups (their
width/height are set using layout_weight in the layout xml), so I know
how many elements fit inside them without scrolling. But I can
I'd like to show a different fragment in a TabHost, for every tab. But
it seems that there's no easy way to do this. TabHost can only accept
A. Views or B. Intents that launch Activities when the user selects a
tab.
Going with A means that I have to initialize every fragment and load
them into
I couldn't find a decent alternative to this either. It seems that
ListView can't be extended to somehow get it to display the elements
horizontally. And replicating ListView is a pain too, because it's
using some private apis.
So you either come up with your own HorzontalListView implementation,
I have a quite large form, with a bunch of EditText elements, inside a
ScrollView. It works as intended when I scroll directly (not
flinging) with the ScrollView.
But when I fling it, as soon as my finger leaves the screen's surface,
the ScrollView forces an EditText (or a focusable element) to
Hey,
In the Market app, when an application is selected, the TextView
containing the description of the app. only show the first 3-4 lines
of the full text. Clicking the 'more' button animates this view, so
the full text is visible. And this TextView is in a ListView (I
guess). How can I achieve
Thanks, it seems that I'm overthinking the problem a bit, I'll just
skip the postbox stuff.
On Jun 25, 9:52 pm, Kostya Vasilyev kmans...@gmail.com wrote:
If the service process is killed, it won't have its onDestroy called,
and won't have a chance to update shared preferences indicating it's
My activities start long running jobs that involve network
communication. So handling these jobs with an IntentService seems
perfectly reasonable. I also need to handle the results of these jobs,
if the Activity that started this is active in the time of
completion. The case that gave me a
10 matches
Mail list logo