-2

i want to load mobile contacts and sim contacts into my listview with indicators. The indicators depends on server side list. The listview contains 2 imageviews and 2 textviews so that it takes more time to load please provide any solution for this issue.

PREMKUMAR
  • 8,283
  • 8
  • 28
  • 51
Sugan
  • 1

1 Answers1

0

First, every call to the server in order to retrieve new data must be perform with an AsynckTask or similar implementation.

Second, use the holder pattern, While this sounds more complex than the stander way, “it is approximately 15 % faster then using the findViewById() method”.

Here a really nice tutorial (8.4. Holder Pattern)

Víctor Albertos
  • 8,093
  • 5
  • 43
  • 71