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

Custom ROM for Custom Tablet(Factory made)
How to keep RecyclerView always above View in RelativeLayout
RecyclerView intercept scroll and stop scrolling beyond certain location
RecyclerView scrolling not working with SwipeRefreshLayout in Fragment
Setting sensor reporting mode as continuous in android for constant sampling rate
Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'
Get the foreground app in Android 6.0.1. UsageStatsManager.queryusagestats returns empty list in version 6.0.1
Android Database in app space or sdcard
Stream a Song from SoundCloud in Android App
How do I ensure accurate implementation of app UI design?
AsyncTask is finishing doInBackground() before the methods inside of it are finished
How to check if my android device has active connection?
How to trigger an application to send data to my server?
Have the lock screen's fingerprint sensor listen for fingerprints whilst in the background, Android
How To Delay NavigationView Icons Visibility
Can I add adblocksfunction into my android browser which I am building

Categories

HOME
xml
api
time-complexity
wakanda
dns
interface
big-o
echo
retrofit2
nstableheaderview
character
bing-maps
arangodb
g++
owin
endeca
xcodebuild
renjin
qsqlquery
modbus-tcp
job-scheduling
feathersjs
dreamweaver
sse
oledb
ag
springfox
roundup
dapper-extensions
wcag
magento-1.8
mustache
erb
sql-delete
navigator
apiary.io
reactivekit
gdata
demo
kill
apache-spark-dataset
ovf
automapper-5
java-6
edit
pdf-conversion
rsa-archer-grc
autosar
model-associations
jboss-tools
nservicebus5
php-socket
upx
lz77
nio2
jnlua
page.js
evolus-pencil
atoi
vacuum
amiga
mraid
mass-assignment
android-cookiemanager
crowd
punycode
linkedin-jsapi
imagefilter
embedded-fonts
jeromq
asdf
argouml
objectquery
jdb
fsevents
w3c-geolocation
pos-for-.net
software-lifecycle

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