In android tabbed activity, the tab with the imageview loads slowly. Is there a better way to code imageview?
I am a beginner in android. I used a image of resolution 2048 * 1152 as the banner image below in one of the tabs in tab activity. That tab stutters and hangs up and loads slowly when activated. I plan on using many images like amazon, ebay, etc. How to code the app efficiently so that it wont hang up or stutter when using a lot of images?
For tabbed activity,(2048 * 1152) this resolution is too large. Use Picasso or other Glide library to resize your image. Picasso.with(this) .load("url Address") // .loadFromResource(R.drwable.your_image) .resize(200,200) .into(imageView); and dont forget to add dependecy in gradle. compile 'com.squareup.picasso:picasso:2.5.2'
Cocos2d-x Android build won't find extensions
Converting string to arraylist with special chars
Scale factor and scaled icon position in appfilter.xml
Activity life cycle with fragments?
Unable to the presence of navigation drawer in ActionBar
Multiple vertical seekbar
onTextChanged doesn't work
Customize cursor in EditText
convert const char * to struct tm under Android with C++
AndroidAnnotations error in Android Studio
NetworkOnMainThreadException in AsyncTask
Hide Activity while loading until all content is loaded
Android: Custom listview with imageview and textview [duplicate]
Android SDK Manager packages missing
Android unable to successfully convert HTTP image/jpeg response to Bitmap
Writing XPKeywords in Exif