BVB Source Codes

android-viewflow Show AsyncDataFlowExample.java Source code

Return Download android-viewflow: download AsyncDataFlowExample.java Source code - Download android-viewflow Source code - Type:.java
  1. package org.taptwo.android.widget.viewflow.example;
  2.  
  3. import org.taptwo.android.widget.TitleFlowIndicator;
  4. import org.taptwo.android.widget.ViewFlow;
  5.  
  6. import android.app.Activity;
  7. import android.os.Bundle;
  8.  
  9. public class AsyncDataFlowExample extends Activity {
  10.  
  11.         private ViewFlow viewFlow;
  12.  
  13.     @Override
  14.     public void onCreate(Bundle savedInstanceState) {
  15.                 super.onCreate(savedInstanceState);
  16.                 setTitle(R.string.async_title);
  17.                 setContentView(R.layout.title_layout);
  18.  
  19.                 viewFlow = (ViewFlow) findViewById(R.id.viewflow);
  20.                 AsyncAdapter adapter = new AsyncAdapter(this);
  21.                 viewFlow.setAdapter(adapter, adapter.getTodayId());
  22.                
  23.                 TitleFlowIndicator indicator = (TitleFlowIndicator) findViewById(R.id.viewflowindic);
  24.                 indicator.setTitleProvider(adapter);
  25.                
  26.                 viewFlow.setFlowIndicator(indicator);
  27.     }
  28.    
  29. }
  30.  
downloadAsyncDataFlowExample.java Source code - Download android-viewflow Source code
Related Source Codes/Software:
onionshare - Securely and anonymously share a file of any size ... 2017-04-16
Android-ItemTouchHelper-Demo - Basic example of using ItemTouchHelper to add drag... 2017-04-16
later - A javascript library for defining recurring schedu... 2017-04-16
x64dbg - An open-source x64/x32 debugger for windows. ... 2017-04-16
pencil - Multiplatform GUI Prototyping/Wireframing 2017-04-16
css-in-js - React: CSS in JS techniques comparison. 2017-04-16
st2 - StackStorm (aka IFTTT for Ops) is event-driven aut... 2017-04-16
WNXHuntForCity - City find By Objective - C 2017-04-16
tmate - Instant Terminal Sharing ht... 2017-04-16
dat.gui - dat.gui is a lightweight controller library for Ja... 2017-04-16
EventStore - The open-source, functional database with Complex ... 2017-04-23
screencat - 2017-04-23
viz.js - A hack to put Graphviz on the web. ... 2017-04-23
JKeyboardPanelSwitch - For resolve the layout conflict when keybord & amp... 2017-04-23
mama2 - Mother plan - all firewood high flame 2017-04-23
BlurEffectForAndroidDesign - Sample to show how to implement blur graphical tri... 2017-04-23
sphinx_rtd_theme - Sphinx theme for readthedocs.org 2017-04-23
rouge - A pure-ruby code highlighter that is compatible wi... 2017-04-23
spring-security-oauth - Support for adding OAuth1(a) and OAuth2 features (... 2017-04-23
Toucan - Fabulous Image Processing in Swift 2017-04-23

 Back to top