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

how to disable the HOME key in android4.0? [duplicate]
how to generate a UI for a ListView Adapter for FaceBook like Feed
Using serial for android library
Edit text not accepting value
BackgroundJS for Android
Tabhost number of tabwidget
How I can make a custom clickeable area?
How to add onclick dynamically to arraylist
Using Hardware Device but cannot find installed app
Full screen changes normal design
How to get the Android device's physical orientation in degrees.
Inserting null value for BLOB datatype
Android PDF SDK : Getting selected text positioning/Highlighting text based on position
Google Maps Android API Authorization failure - has this service changed in the last few months?
Storing a file on Internal And External SdCard
content of the adapter has changed but ListView did not receive a notification

Categories

HOME
assembly
checkstyle
ggplot2
rsa
static
sh
requirements
shiro
bitbucket-api
database-normalization
alsa
vxml
jax-ws
angularfire2
crystal-lang
special-characters
rcloud
text-mining
xcodebuild
capistrano3
azure-iot-hub
entitymanager
alpacajs
gmm
database-connection
drive
breadth-first-search
ag
react-toolbox
epsilon
google-cloud-print
bulletphysics
android-things
openmdao
comparable
magento-1.8
git-squash
yowsup
apiary.io
parse-tree
ods
trigonometry
wmp
movilizer
chronicle-map
oracle-service-bus
flask-login
vaadin-charts
snapchat
opencmis
phpdbg
xbmc
ntvs
reportservice2010
openblas
spring-data-couchbase
cd-burning
winusb
seek
qtplugin
mta
data-protection
asyncdisplaykit
boomerang
mod-proxy
jdk1.7
skspritenode
pyobjc
code-documentation
procedural-programming
big-ip
xml-dsig
dct
fpdi
gae-quotas
android-audiorecord
scriptaculous
scrypt
inputmismatchexception
windows-phone-8-sdk
jeromq
observium
ui-select2
epiceditor
dolby-audio-api
booksleeve
robotlegs
curb
panda3d
frameworkelementfactory
fragmenttransaction
saleslogix
correlated-subquery
cross-database
convention
node-redis
filemerge
catransform3d
xcelsius
dataform
http-daemon
aspmenu
silverlight-oob
java1.4
blind

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