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

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

Categories

HOME
google-app-engine
time-complexity
3d
serialization
spring-data-mongodb
jquery-ui
tvos
nstableheaderview
special-characters
augeas
github-enterprise
altera
event-sourcing
chargify
sencha-touch
oledb
selinux
definitelytyped
moses
surveymonkey
jquery-multiselect
android-sharedpreferences
ms-access-web-app
has-and-belongs-to-many
paperjs
uitapgesturerecognizer
boost-asio
recurring-events
mustache
twos-complement
sql-delete
wurfl
watchman
sessionstorage
opensmpp
chef-solo
resolution
dcmtk
outputcache
monkey-testing
flask-restful
chai-as-promised
facebook-pixel
activeperl
carrot2
context-sensitive-grammar
android-testing
css-transforms
cpu-cache
renaming
chromium-os
slackware
envi
mapinfo
nservicebus5
angular-ui-typeahead
kendo-upload
contentcontrol
highland.js
libvlc
inf
rewrite
oracle-spatial
lazybones
pax-exam
snoop
bufferedinputstream
document-repository
rapidsvn
nodelist
angular-gettext
deform
easyrtc
webfinger
device-tree
human-computer-interface
lambda-architecture
buffering
cfcache
clickbank
multiautocompletetextview
gwt-openlayers
cocoalibspotify-2.0
printdialog
adobe-media-server
oracle-enterprise-linux
httponly
predicatebuilder
cross-database
role
winmain
mysql-error-1205
exponentiation
photolibrary
object-database
request-headers
lobo-cobra
wordprocessingml
entitykey
dsoframer

Resources

Encrypt Message