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

Adding Fragment to Activity in XML: What is the class attribute and why doesn't it have a namespace
Error: 'Execution failed for task …' while trying to import opencv in Android Studio project
Hide (or dim) Android Wear Charging Icon
eclipse android string to Jsonarray
Removing android permissions to allow autoupdate
Sending files and data using POST with MultipartEntity (HttpURLConnection)
How to interact other android app with the help of Uri?
Getting image from .epub file in Android
How to find the GPS and Network provider status without consuming GPS?
GoogleAPI key V2 RuntimeException [closed]
FragmentPagerAdapter is not returning exact position at Fragment getItem(int index)
get child group parent view in ExpandableListView
Android API 19 : OnBackPressed I want to close the application and show all the installed apps
Android, Native OpenGL/OpenMAX, Screen capture
Android - Prevent text truncation in SearchView suggestions?
(resolved) Send SMS to a specific contact

Categories

HOME
eclipse
gridview
facebook-oauth
hyperlink
deep-learning
awk
google-spreadsheet
angular2-material
powerpoint
solaris
cakephp-3.4
pyqt4
x264
pattern-matching
categorical-data
project-intu
line
favicon
linear-algebra
aws-sdk
digital-signature
sse
cfml
topology
cgbitmapcontext
flask-sqlalchemy
direct3d11
windows-server-2003
mat
handler
mql
autodesk-designautomation
event-flow
anki
clickjacking
jett
dsx-desktop
gojs
classcastexception
hunspell
sharding
fiware-cygnus
plaintext
congestion-control
placeholder
xmldocument
clang++
servermanager
openal
payara-micro
colorbar
filehandle
type-theory
cpu-cache
pybrain
branch-prediction
change-tracking
actor-platform
adafruit
mongodb-php
dup
firebase-security
clipboard.js
freepbx
kiosk
nio2
concept-insights
sapscript
doctype
wso2greg
dnssec
openbabel
nodelist
ssis-data-flow
angular-carousel
named-parameters
ss7
verold
mutual-authentication
twitter-bootstrap-rails
clickbank
android-audiorecord
openargs
windows-embedded-standard
dtmf
printdialog
neos-server
cmmi
route-provider
scmmanager
css-reset
onload-event
cardreader
booksleeve
dajaxice
floating-point-exceptions
cgimage
mysql-error-1205
drawtobitmap
timthumb
codebase
cac
timertask
easyb
office-2007
isapi-extension
nstokenfield
feasibility
ifilter
pbcopy

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