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

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

Categories

HOME
asp.net-web-api
awk
toolbox
solaris
ado.net
maxscript
crystal-lang
vert.x
webix
performancepoint
x-cart
tput
supervisor
comsol
azure-iot-hub
alpacajs
scsi
esoteric-languages
fileserver
vuejs
delphi-xe5
sar
named-entity-recognition
inno-download-plugin
resourcebundle
interbase
flooding
genexus-sd
finagle
cognos-bi
quickfixj
glib
gojs
installshield-le
baidu-map
imx6
parse-tree
google-knowledge-graph
lint
zoomify
ideascript
nohup
recurrent-neural-network
apriori
naming
httr
automapper-5
identification
tf
page-replacement
carrot2
compiler-design
java-6
seq
django-1.10
simplepie
reporting-services-2012
latin
centrifuge
dotnetnuke-7
lz77
cortex-m
realsense
blitline
custom-errors
linklabel
dynatree
grgit
rate-limiting
sony-lifelog-api
typemock
omnifaces
adehabitathr
mruby
imagefilter
reflector
malformedurlexception
ray
dct
vbe
qscrollarea
android-audiorecord
gwt-openlayers
http-patch
jeromq
printdialog
bjyauthorize
extreme-programming
cuda-gdb
procedures
unattended-processing
mtu
load-time
ajax-polling
zen
xpsdocument
wysiwym
image-capture

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App