You should use a TableView with a Text/View Entry per server record response
inside a TableRowView. Each Item in a TableRow will be spaced horizontally
providing multiple columns...
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] O
Pramod,
You have to look at few things:
- List.contains() will tell you whether the reference to YourObject
instance is held by the list
- YourObject.equals() is used by List.contains() to answer *contains?* question
In your code, you don't have YourObject, that holds the model. In your
case it w
Pramod,
you are creating new ArrayList that backs new SimpleAdapter every time
you receive an update, hence all there is to display is only what came
with the update. Activity should have one Adapter per ListView and
both of those should not be re-created, but created once and the
updated, when ne
Pramod,
You have to read up on ListView and some Adapter that backs the
ListView providing it with data.
When you receive new set of data to be displayed or your data has
changed, you call BaseAdapter.notifyDataSetChanged() to notify the
associated ListView to redraw all visible items.
ListView
On Wed, May 25, 2011 at 4:15 PM, pramod.deore wrote:
>
> On May 25, 12:08 pm, Nikolay Elenkov
> wrote:
>> On Wed, May 25, 2011 at 4:01 PM, pramod.deore
>> wrote:
>> > Hi Ravi thanks for reply. actually it will becomes more complicated.
>> > Because server is sending data 2-3 times within a seco
On Wed, May 25, 2011 at 4:01 PM, pramod.deore wrote:
> Hi Ravi thanks for reply. actually it will becomes more complicated.
> Because server is sending data 2-3 times within a second And it will
> not be good idea to store data such a frequently.
>
> Can somebody please provide me a guideline How
6 matches
Mail list logo