-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,254
  • 7
  • 27
  • 51
Sugan
  • 1

3 Answers3

0

refer this tuts.create one viewholder class and place the views

SilentKiller
  • 7,146
  • 6
  • 39
  • 76
Sandeep Kumar
  • 452
  • 4
  • 18
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
  • 7,715
  • 5
  • 39
  • 68
0

Yon can use this link to faster the image recycling of getting url from the server side:

Lazy load of images in ListView

Community
  • 1
  • 1
Harsh Parikh
  • 3,793
  • 3
  • 12
  • 14