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

Reliable method to get signal strength on all devices?
Unable to get json values saperately in android
Android Firebase Remove Query Listener from DatabaseReference
How to achieve ripple effect in Pre-Lollipop devices? [duplicate]
Dagger 2: Error about subcomponents, but I don't have any subcomponents in my app
Android Studio activity passing data
Text color selector doesn't work on android 4
DexException when using Firebase Messaging in a library
How to set custom font on ToolbarAndroid in react native
Taking multiple images using Camera2
Android - Change RelativeLayout to Fragment
How to play YouTube videos in background in android?
Calendar onSelectedDayChange and sqlite sum
Load Content in Application using inbuilt chrome web browser than Default System Webview
Can I query download manager from 3rd party app?
java.lang.VerifyError: Verifier rejected class

Categories

HOME
scikit-learn
cheerio
c++11
github-for-windows
nunit
rds
mips
regular-language
modal-dialog
project
startup
why3
libc
speech-synthesis
radgridview
intercom
gource
qsqlquery
scsi
atlassian-stash
wolframalpha
google-picker
mapstruct
breadth-first-search
question2answer
froala
custom-post-type
ms-access-web-app
intersystems-cache
wcag
sinch
quantlib
nsurl
joomla2.5
reactjs.net
fiware-cygnus
swagger-php
apic
sessionstorage
gdata
kill
android-softkeyboard
install.packages
glm-math
print-css
contract
android-exoplayer
gitlist
robomongo
fclose
rserve
scalding
payload
gpg-signature
flac
rxtx
envi
jodd
hclust
scaffolding
avspeechsynthesizer
respondcms
android-wake-lock
turbo-prolog
np-spring
highland.js
iokit
avisynth
intel-c++
poppler
toolkit
sapscript
ember-cli-rails
finalbuilder
jdk1.7
actionfilterattribute
public-html
iiop
xml-dsig
gnumeric
memset
terminate
gae-quotas
asdf
insert-id
alice
tree-balancing
onmousemove
sentestingkit
zope.interface
apache-whirr
stress
entitydatasource
unattended-processing
cac
drupal-fivestar
nstokenfield
skype4java
visualj#
fdf
xslcompiledtransform

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