congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DragDropListView.setVerticalScrollbarPosition
Code IndexAdd Tabnine to your IDE (free)

How to use
setVerticalScrollbarPosition
method
in
cc.solart.dragdrop.DragDropListView

Best Java code snippets using cc.solart.dragdrop.DragDropListView.setVerticalScrollbarPosition (Showing top 3 results out of 315)

origin: Solartisan/DragDropListView

@Override
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_simple);
  mSimpleTileAdapter = new SimpleTileAdapter(this, this,
      new TileView.OnSelectedListener() {
        @Override
        public void onTileSelected(IDragEntity entity) {
          Toast.makeText(SimpleActivity.this, ((SimpleDragEntity) entity).getName(), Toast.LENGTH_SHORT).show();
        }
      });
  //TODO :set data source
  mSimpleTileAdapter.setData(obtainData());
  mListView = (DragDropListView) findViewById(R.id.list_view);
  mListView.setVerticalScrollBarEnabled(false);
  mListView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT);
  mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY);
  mListView.getDragDropController().addOnDragDropListener(mSimpleTileAdapter);
  final ImageView dragShadowOverlay =
      (ImageView) findViewById(R.id.tile_drag_shadow_overlay);
  mListView.setDragShadowOverlay(dragShadowOverlay);
  final LayoutAnimationController controller = new LayoutAnimationController(
      AnimationUtils.loadAnimation(this, android.R.anim.fade_in));
  controller.setDelay(0);
  mListView.setLayoutAnimation(controller);
  mListView.setAdapter(mSimpleTileAdapter);
}
origin: Solartisan/DragDropListView

@Override
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_thumbtack);
  mThumbtackTileAdapter = new ThumbtackTileAdapter(this, this,
      new TileView.OnSelectedListener() {
        @Override
        public void onTileSelected(IDragEntity entity) {
          Toast.makeText(ThumbtackActivity.this, ((SimpleDragEntity) entity).getName(), Toast.LENGTH_SHORT).show();
        }
      });
  //TODO :set data source
  mThumbtackTileAdapter.setData(obtainData());
  mListView = (DragDropListView) findViewById(R.id.list_view);
  mListView.setVerticalScrollBarEnabled(false);
  mListView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT);
  mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY);
  mListView.getDragDropController().addOnDragDropListener(mThumbtackTileAdapter);
  final ImageView dragShadowOverlay =
      (ImageView) findViewById(R.id.tile_drag_shadow_overlay);
  mListView.setDragShadowOverlay(dragShadowOverlay);
  final LayoutAnimationController controller = new LayoutAnimationController(
      AnimationUtils.loadAnimation(this, android.R.anim.fade_in));
  controller.setDelay(0);
  mListView.setLayoutAnimation(controller);
  mListView.setAdapter(mThumbtackTileAdapter);
}
origin: Solartisan/DragDropListView

@Override
protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
  setContentView(R.layout.activity_single_row);
  mSimpleTileAdapter = new SimpleTileAdapter(this, this,
      new TileView.OnSelectedListener() {
        @Override
        public void onTileSelected(IDragEntity entity) {
          Toast.makeText(SingleRowActivity.this, ((SimpleDragEntity) entity).getName(), Toast.LENGTH_SHORT).show();
        }
      });
  //TODO :set data source
  mSimpleTileAdapter.setData(obtainData());
  mListView = (DragDropListView) findViewById(R.id.list_view);
  mListView.setVerticalScrollBarEnabled(false);
  mListView.setVerticalScrollbarPosition(View.SCROLLBAR_POSITION_RIGHT);
  mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY);
  mListView.getDragDropController().addOnDragDropListener(mSimpleTileAdapter);
  final ImageView dragShadowOverlay =
      (ImageView) findViewById(R.id.tile_drag_shadow_overlay);
  mListView.setDragShadowOverlay(dragShadowOverlay);
  final LayoutAnimationController controller = new LayoutAnimationController(
      AnimationUtils.loadAnimation(this, android.R.anim.fade_in));
  controller.setDelay(0);
  mListView.setLayoutAnimation(controller);
  mListView.setAdapter(mSimpleTileAdapter);
}
cc.solart.dragdropDragDropListViewsetVerticalScrollbarPosition

Popular methods of DragDropListView

  • createDraggedChildBitmap
  • ensureScrollHandler
  • getBottom
  • getChildAt
  • getChildCount
  • getContext
  • getDragDropController
  • getFirstVisiblePosition
  • getHandler
  • getHeight
  • getLocationOnScreen
  • getTop
  • getLocationOnScreen,
  • getTop,
  • getViewAtPosition,
  • getViewTreeObserver,
  • setAdapter,
  • setDragShadowOverlay,
  • setLayoutAnimation,
  • setScrollBarStyle,
  • setVerticalScrollBarEnabled

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • getSystemService (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • JCheckBox (javax.swing)
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now