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

Ontouch() isn't work with custom view?
Why a set android Image disappears?
Android - How to add Google Map Marker Label?
Is there only one shared preferences object per application?
MPO Images from HTC Evo 3D
How to add focus function in MediaRecorder?
403 Access Not Configured Google Api youtube
search if is a pdf reader app installed - Android
How to downsample images correctly?
is there a way to store the whole text of an Android activity screen in a string or HTML format?
injecting objects that rely on each other - roboguice
Android app using Monodroid unable to get external program to correctly open file
Android app using google maps not working on phone
How to animate static fragments?
what wrong with putExtra and string values
Access to ToggleButtons in ListView

Categories

HOME
serialization
obfuscation
requirements
devise
error-handling
pclxl
switch-statement
scripting
limit
x264
barcode
fabric.io
owin
angular-dart
favicon
enterprise-architect
atlassian-stash
template-engine
identity-management
cfml
pagespeed
event-store
expressionengine3
windows-server-2003
pic32
zend-debugger
kodi
catch-unit-test
jett
openwhisk
getpixel
slacktextviewcontroller
news
postgresql-8.4
linqpad
launchctl
datamaps
filehandle
otp
rackspace-cloud
d3-force-directed
trigger.io
django-1.10
pure-css
x-tag
riot
turbo-prolog
ellucian-scribe
halcon
pushbots
qbxml
phpgrid
qt5.2
wiredep
toolkit
rpart
canvg
rrule
appserver
genymotion-call
paw
human-computer-interface
extjs2
git-repo
bin
http-patch
kogrid
pagedown
idn
os.system
cuda-gdb
multiplexing
jquery-address
apache-commons-dbutils
promotion-code
mysql-error-1205
automationelement
tournament
multiplatform
umra
appledoc
diagrams
object-database
web-garden
sun
xpsdocument

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App