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

What is the work around for TYPE_KEYGUARD now that it's been removed?
Pick image from fragment always return resultcode 0 in some devices
HTML Embeded Video Background can't load on Android or IOS
A simple if statement not working
Unable to add multiple markers in a Google Map
Android M Camera Intent + permission bug?
How can I disable a thread with an onClickListener?
Multidex :no class found exception
ActiveAndroid select all from class
My external JAR file libraries are not showing up in 'External Libraries' after import
why i'm getting source file not exist: in my code?
How to set text color of each word in AutoCompleteTextView
Android: How Do BLE Notifications Work?
cannot pass arraylist from putParcelable function , error Wrong argument Found ImagesPath required Parceble
Texture2dProgram - where is the glUniform for sTexture defined
Android - What is wrong with onStart method?

Categories

HOME
android
design-patterns
gdb
mjml
youtube-data-api-v3
serialization
saml-2.0
jwplayer
alarm
google-cloud-functions
entity-framework-core
carousel
aws-cli
telegram-bot
zip
teechart
openstreetmap
rtf
spring-social
endpoint
onedrive-api
symmetricds
atlassian
magnetic-cards
esoteric-languages
atlassian-stash
question2answer
imageresizer
carrierwave
nsurl
recurring-events
anki
dynamic-jasper
sharding
salesforce-communities
graphhopper
opensmpp
android-softkeyboard
importerror
stylecop
chai-as-promised
dtsearch
tinymce-3
bluez
x-ray
trojan
singleinstance
yii2-user
backbone-collections
git-flow
reshape
pytables
winusb
kango-framework
nupic
fiware-monitoring
fuelcms
iced-coffeescript
branch-and-bound
liquid-layout
apache-commons-daemon
dot.js
java-security
at-job
angular-gettext
viewer
sql-scripts
winginx
gd-graph
breakout
jeromq
poker
facebook-timeline
css-reset
cascadingdropdown
fb.ui
asplinkbutton
resource-management
wimax
frameworkelementfactory
sentestingkit
boost-msm
garbage
fusefabric
lr
filesystemobject
feasibility
fail-fast-fail-early
perl5.12
cardspace

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