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

Move all the markers on the map to their updated/new current location periodically as users moves
Toolbar custom theme title/subtitle padding issue
Why is this xamarin android menu text not showing?
why is the run button grayed out in Android Studio
Disable swiping in ViewPager
xamarin.forms image appears on all devices, but not on windows10 tablet
on button click get data from each view
how to apply jobschedular below lolipop
Add search functionality in list view
Android Location “going for a walk” by itself
Providing Integers.xml for different screen densities
Change UI for notification status bar - Android
Google Play Store : How to upload more APKs to support different CPU architectures
background drawable for using layer-list not wrapping the parent screen
Establishing connection from unity3d to android phone?
Spinner not showing selected or default choice

Categories

HOME
shell
url-redirection
django
checkstyle
fuelux
c99
ns-3
case
serialization
spring-data-redis
knitr
square
vsm
webix
distribution
activecollab
angular-dart
speech-synthesis
charles
scriptella
beta
jboss6.x
froala
beautifier
mat
sinch
mql
complex-numbers
angularjs-material
fstream
joomla2.5
python-import
apic
docfx
google-data-api
mcustomscrollbar
trigonometry
plaintext
parser-generator
file-sharing
xbmc
robomongo
globalize
corruption
magic-draw
static-cast
java-6
jqchart
bbpress
pure-css
centrifuge
redis-cluster
createprocess
grass
np-spring
rasterize
directdraw
state-restoration
oracle-spatial
sha512
skspritenode
mruby
viewer
post-commit-hook
appserver
mintty
clickbank
koala
mt4j
light
printdialog
kogrid
node-blade
android-sdk-2.3
curb
patricia-trie
listitem
jdb
database-create
stress
filemerge
timertask
hbm2java
cuda.net
wcf-proxy
leader

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