• Stars
    star
    150
  • Rank 247,323 (Top 5 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Flickable ImageView for Android. It's like a view of twitter's detail image.

FlickableView

Flickable ImageView for Android. It's like a view of twitter's detail image.

It's possible that other views animate with FlickableView.

Feature

  • Move (Up, Down)
  • Zoom
  • Flick (Up, Down)

How to use

 final FlickableImageView flickableImageView = (FlickableImageView) findViewById(R.id.fiv);
 // Resource
 flickableImageView.setImageResource(R.drawable.travel);

 // Http Request
 // String url = "...";
 // Picasso.with(context).load(url).into(flickableImageView);
 
 
 // Listeners
 
 // Flick Listener
 flickableImageView.setOnFlickListener(new FlickableImageView.OnFlickableImageViewFlickListener() {
     @Override
     public void onStartFlick() {
     }
     
     @Override
     public void onFinishFlick() {
     }
 });
 
 // Drag Listener
 flickableImageView.setOnDraggingListener(new FlickableImageView.OnFlickableImageViewDraggingListener() {
     @Override
     public void onStartDrag() {
     }
     
     @Override
     public void onCancelDrag() {
     }
 });
 
 // SingleTap Listener
 flickableImageView.setOnSingleTapListener(new FlickableImageView.OnFlickableImageViewSingleTapListener() {
     @Override
     public void onSingleTapConfirmed() {
     }
 });
 
 // DoubleTap Listener
 flickableImageView.setOnDoubleTapListener(new FlickableImageView.OnFlickableImageViewDoubleTapListener() {
     @Override
     public void onDoubleTap() {
     }
 });
 
 // Zoom Listener
 flickableImageView.setOnZoomListener(new FlickableImageView.OnFlickableImageViewZoomListener() {
     @Override
     public void onStartZoom() {
     }
     
     @Override
     public void onBackFromMinScale() {
     }
 });
 

Check this sample code.

Gradle

repositories {
    jcenter()
}

dependencies {
    compile 'com.github.goka.flickableview:flickableview:1.0.0'
}

Release

1.0.0
ใ€€First release.

Reference

ImageViewZoom

More Repositories

1

BlurredGridMenu

Cool blurred grid menu for Android.
Java
496
star
2

ParkedTextView

A editable text with a constant text/placeholder for Android.
Java
269
star
3

KenBurnsView

Slideshow. Android ImageViews are animated by Ken Burns Effect. (Inspired by Heyday)
Java
212
star
4

walker

Cool walkthrough has good animation for Android.
Java
82
star
5

RSSTS

Report Screenshot To Slack for Android
Java
24
star
6

apidoc

Automatic API Document Generator in Golang
Go
16
star
7

line-pay-sdk-go

LINE Pay API SDK for Go
Go
14
star
8

go-nudely

Nudity Detection
Go
9
star
9

HighlightTextView

Inspired by https://github.com/yusayusa/HighlightTextView
Java
5
star
10

bigquery

bigquery is easy for go developers to use BigQuery API
Go
5
star
11

DribbbleBySwift

Objective-C
4
star
12

speed

logger that trace one api or method duration
Go
4
star
13

break

Go
3
star
14

gosquare

Foursquare API client library for Go.
Go
3
star
15

llm-qa-bot

Python
2
star
16

gae-google

Sample https://qiita.com/gotokatsuya/items/7f3bd1f71aa825264851
Go
2
star
17

goapex

HCL
2
star
18

ipare

Image Compare Toolkit for Go
Go
2
star
19

microcms-liff-handson-project

Ruby
2
star
20

amazon-pay-sdk-go

Go
2
star
21

yahoo

Yahoo! JAPAN YConnect (OAuth2.0 + OpenID Connect)
Go
2
star
22

ShowCase

Objective-C
2
star
23

timetree-sdk-go

Go
2
star
24

drager

ViewDragHelper demo.
Java
2
star
25

dcache

Disk cache for Golang. Algorithm is like LRU cache.
Go
1
star
26

Android-Lib-InAppBilling

Provides a straightforward and simple interface for sending in-app billing requests and managing in-app transactions in Google Play.
Java
1
star
27

daily

Post daily report to slack
JavaScript
1
star
28

PhaseOnlyCorrelation

Java
1
star
29

appsflyer

AppsFlyer API client library for Go.
Go
1
star
30

chanhamrun

Game that chanham is running.
Go
1
star
31

httpstat

Go
1
star
32

Easy

Easy is a mvp (Model-View-Presenter) project.
Java
1
star
33

particle

Particle Filter by Go
Go
1
star
34

MeetupSlack

Swift
1
star
35

Favos

Instagram
Java
1
star
36

collaborators-github

Go
1
star
37

TouchLight

Android Wear Game
Java
1
star
38

DroidLGTM

Java
1
star