I have been trying to create dynamically pages but they lag too much. I tried doing like here: https://code.google.com/p/viewpagerexample/source/browse/trunk/AwesomePager/src/com/geekyouup/paug/awesomepager/AwesomePagerActivity.java
or here: dynamically add and remove view to viewpager
They both basically do same thing and they both get extremely laggy with my view.
Here is what I want to do, and what I get:
Also I get "the application may be doing too much work on its main thread" warning. Is there any way I can make this optimized? And for reference, how is this kind of view called?