android
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'
Related Links
Progress Bar in dialog in Android
Android open send mail intent and receive callback when user send mail
ANDROID: what is the best approach with the fragment?
Unable to open SQLite database stored at assets\databases using SQLiteAssetHelper
Fill facebook share item with title, text and link (Android)
Android WebView - see page in full size (like on pc)
AdMob only displaying Test Banner
Android prevent layout from moving up on focus on edit field
Adding GooglePlayServices support into my Android projects using Eclipse
How to get the application name of the recently installed application
Unable to scroll video divs in opentok cordova application
counting number of rotations of matrix
how to create a hotspot with captive portal capbility on android phone
PhoneGap - return custom plugin callback value from method other than execute()
Wait for internet connection to send data in Android
Android - Action Bar Overflow