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'
Sending Sms by intent but when press back button its not resuming my application
How to get deep link working in WebView
How can I pass data doInBackground inside a snippet in other class?
Not getting Latitude and Longitude in android
cAT uninstalling app and device not found
How to present different UI on first vs subsequent app use?
TabLayout with Viewpager : Swipe is not smooth
How to use cwac2 camera with custom layout
How can I make a horizontal bar for statistics in Android?
RadioButton circle and dot color on selected
I can't get the elements in ArrayList [closed]
Android - Adobe creative SDK -Aviary v4.48 crash due to Proguard configuration
My onDraw() method is never called
Android Device Monitor will not displayed in Android Studio
Use more than one KeyEvent in Android
popup window to appear in all the activities of the application