android


How to add elements to Viewpager dynamically android


I'm using viewpager to swipe between view.Initially i'm loading 5 items to viewpager.When scrolling 5th page i'm downloading remaining 20 elements from server.How to acheive that.I have enable notifyDatasetChanged().It is also not working.
I have tried viewpager.setAdapter(adapter).It is working but it's scrolls to the 0th position.
How to acheive this?
Thanks in adavance:)

Related Links

Bring to front a view over foreground image of a frameLayout
Google Cloud Message Android Key
Android TextView linespacing
Clarification about ios and android push and ionic
error : couldn't read row 0 , col -1 from cursorWindow make sure the cursor is initialized correctly before accessing data from it?
Regd - Geting Bluetooth rssi value of Paired devices
Google Places Autocomplete not working after closing the application
enable click event on parallax ListView with sticky header in android
Get Lifelog API result
How to Know Current Install Location
How to set my circleImageView on the border of my layout in android?
How to make News Bar with Spannable Marquee TextView in Android?
CameraPreview Class does not fit the whole screen
Install CA Cert to “Wifi” instead of “VPN and apps”
Android: No debugging symbols found in gdbserver
SecureRandom provider “Crypto” unavailable in Android N for deterministially generating a key

Categories

HOME
algorithm
google-cloud-platform
string
codenvy
ng-idle
fpga
google-spreadsheet
object
mjml
solver
access
google-cloud-functions
static-site
soa
frontend
opengl-3
flume
barcode
openbugs
mongodb-csharp
intershop
ckfinder
game-theory
expressionengine3
appirater
rpgle
browser-sync
corenlp-server
sql-server-2000
jmockit
spring-security4
hreflang
python-import
browser-extension
raft
magento-1.9.2.4
imagenet
flatmap
dcmtk
escpos
plan-9
vaadin-elements
identification
posixct
zenhub
aquamacs
colorbar
boo
bbpress
bootstrap-tags-input
slackware
pure-css
custom-lists
xcode-server
greatest-n-per-group
respondcms
rasterize
pypiserver
wiredep
include-guards
opserver
sha512
baasbox
graphics2d
git-ftp
boost-program-options
mruby
browserify-shim
spy++
gii
template-deduction
mintty
rcaller
memset
extjs2
square-bracket
artemis
windows-phone-8-sdk
hidapi
ui-select2
route-provider
diem
actiondispatch
superscrollorama
insert-id
stacky
virtual-pc
vfs
node-redis
listactivity
xui
rowlex
zen
lxr
strtod
fault-tolerance
entitykey
pnrp

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