android


Horizontal scrolling between activities in Android


I'm building a new application to the Android platform and I want to implement moving between different activities by scrolling. I want also to use some kind of scrolling effect like in this example.
I've searched the web and found a couple of examples using view pager and fragments, but my problems are:
View pager is used to switch between views and I want to switch between different activities.
I don't want to use fragments because I don't think it's going to fit to earlier API (before Android 2.1).
So, for my questions:
Is there any other way for doing it, except of using onFling gesture and then losing the sliding effect?
Can I use fragments to the earlier API's?
Thanks.
Of course it is possible to use fragments in lower versions. You simply have use the android support library and impost viewpager to your app. Here is a very good example which uses View Pager and fortunately it implements the support libraries and it worked for me from android 2.1.
http://viewpagerindicator.com/
You can use fragments in earlier versions, using android-support-v4.
If you work with Eclipse, you can add it to your project by right-click on it, "Android Tools", then "Add Support Library... "

Related Links

Issue compiling Vulkan API samples on Android N
Firebase 401 unauthorized error FCM
When click button inside fragment I want to go to another fragment in the parent TabLayout
Android 6 - phone crashes when bluetooth device found
Firebase: notify app uers when data in a json file changes
How to Clear Database in Realm in Android
AdColony UI is messed up on Galaxy S6 (using Unity 5 & HeyZap)
How do I scale up/enlarge RecyclerView items only when they are the most centered and shrink them when user swipes away
Youtube player getting paused in every second which is inside View Pager
Android Smack receiving the message but not processing it using processMessage()
why can a service create a webview?
480*800 resolution Xamarin Android
FirebaseDatabase.getInstance().getReference() takes too long.
Make an alert dialog popup from a class that is not an activity? [duplicate]
Android: how do I exclude a CardView's checkbox from a LongClick method?
Access First Firebase Node Data in Firebase Query

Categories

HOME
devise
r-googlesheets
google-cloud-functions
edge
google-apps
dojo
interpolation
maxscript
jtextpane
odoo-8
special-characters
bing-maps
g++
owin
enthought
text-mining
symfony-2.8
foreign-keys
google-maps-autocomplete
comparator
windows-server-2003
flooding
amazon-quicksight
angular-translate
mockjax
utorrent
cognos-bi
left-join
testbed
git-squash
navigator
servicestack-text
sim-toolkit
dm-script
recurrent-neural-network
stringtokenizer
android-ibeacon
glm-math
berkeley-db-je
photos
apache-directory
jboss-4.2.x
clarifai
dtsearch
rserve
convex-optimization
remedy
azure-cli
gameplay-kit
baidu
sandcastle
cubism.js
pytables
xcode-server
async.js
expectations
gogs
lean
database-relations
np-spring
kendo-upload
fiware-monitoring
google-books
sql-server-data-tools
rdflib
entity-framework-4.3
adehabitathr
cross-join
at-job
iiop
browserify-shim
ssis-data-flow
angular-carousel
rcaller
tinyxml
jquery-slider
getopt
mt4j
process-explorer
scmmanager
css-reset
actiondispatch
pagedown
swfobject
twisted.web
monotouch.dialog
jsr286
node-redis
android-holo-everywhere
winmain
cgbitmapcontextcreate
xui
msr
ruby-1.8
ie-compatibility-mode
silent
maven-1
rowlex
opml
silverlight-oob
sun
windows-identity
software-lifecycle
lemmatization
blind
cardspace
idatareader

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