Browse files

Adding information about initial position.

Signed-off-by: Patrik Åkerfeldt <>
  • Loading branch information...
1 parent 7572ed9 commit 01e23367f412b771b8fbab8ff410789fbbbfd5e3 @pakerfeldt pakerfeldt committed Aug 5, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0
@@ -20,6 +20,12 @@ To be able to use the more convenient `app:sidebuffer` attribute, the applicatio
ViewFlow viewFlow = (ViewFlow) findViewById(;
+Setting a different initial position (0 being default) is as easy as:
+ viewFlow.setAdapter(myAdapter, 8);
+You could also use `setSelection(...)` immediately after calling `setAdapter(myAdapter)` but that might load unnecessary views giving you a decrease in performance.
### Listen on screen change events

0 comments on commit 01e2336

Please sign in to comment.