Using ViewPager In Activity And Launch App From URL Inflating Exception Thrown
I have a android.support.v4.widget.DrawerLayout layout in my app and a ViewPager in it for slider. it works fine if, i directly open app. but when i open app on clicking URL it thr
Solution 1:
When you are getting RuntimeExceptions about error in layout inflation, you should drill down the trace to see what is the error.
In your case the root cause of your exception is the last trace which is an OutOfMemoryError. It seems that you are allocating large chunks of memory in your ViewPager. Probably showing very large images.
Try using smaller images, or resize them before using.
Post a Comment for "Using ViewPager In Activity And Launch App From URL Inflating Exception Thrown"