Guys,

In my recent application, i had 80  items each one is a list view, in my
View Pager.
I observed a performance hit, if i create then *dynamically with Java code*v/s i
*nflating view* from xml.
I see a terrible lag in swiping left & right,  when i use inflating view
approach...That's because GC calls increases like hell in logcat....

I use below method for inflating each list view for each view pager.

*mLayoutInflater.inflate(R.layout.list, null, false);*
*
*
I thought we can use View pager like ListViews and GridViews...

Is there something i m missing here???

Br,
Varun

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to