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

DialogFragment with extra space below ListView
Running the new Intel emulator for Android
How to make the video display from sdcard in android?
Android: how to show icon in ActionBar but not in the Options Menu?
Admob cant find transfer funds link in google admob panel [closed]
Expandable ListView with JSON Data in android
Getting Error while configuring ADB
ComponentInfo{packgname.LoginActivity}: java.lang.ClassNotFoundException
List view values cause an error
Restart of an Android activity after a long time of idleness -> NullPointerException
how to generate cmap_cns.h in mupdf
Android: TabHost.addHost(…) application crash at tabHost.addTab
Who provides the drivers under Android, the kernel or the platform?
Jquery Mobile Page trasition displaying Extra elements
how can i use other application preference
Android : Unfortunately google maps stopped

Categories

HOME
phpword
c99
gpu
case
static
fftw
nsbundle
nested-if
elasticsearch-5
qpython
arangodb
little-proxy
minecraft-forge
android-securityexception
keytool
entitymanager
dynamic-sql
video-editing
mapstruct
enterprise-miner
topology
resourcebundle
google-api-client
tiki-wiki
onload
siri
fat
jquery-multiselect
fable-f#
appirater
mat
openmdao
comparable
dsx-desktop
baidu-map
bc
ods
p4merge
setup.py
xv6
chronicle-map
avcapturedevice
android-exoplayer
opencmis
phpdbg
lampp
rserve
x-ray
reindex
edit
excel-dna
avx
reshape
mach-o
shinobi
rxtx
jodd
cassia
tfs-workitem
morton-number
intel-c++
phonertc
opserver
dock
ansi
android-broadcast
adehabitathr
infosphere-spl
mruby
easyrtc
build-script
kissfft
synapse
scriptaculous
beaker-testing
kaleidoscope
time.h
epiceditor
jquery-1.9
redis-py
paginator
failing-tests
cgimage
winmain
strsep
collectionviewsource
nhprof
presentation-layer
updatesourcetrigger
office-2007
rowlex
web-garden
pos-for-.net
burndowncharts
pagemethods
soappy

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