All Projects → shts → Storiesprogressview

shts / Storiesprogressview

Licence: apache-2.0
show horizontal progress like instagram stories.

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Storiesprogressview

Instascrape
🚀 A fast and lightweight utility and Python library for downloading posts, stories, and highlights from Instagram.
Stars: ✭ 76 (-90.03%)
Mutual labels:  library, instagram
React Native Vision Camera
📸 The Camera library that sees the vision.
Stars: ✭ 443 (-41.86%)
Mutual labels:  library, instagram
Instagram Api Python
Unofficial instagram API, give you access to ALL instagram features (like, follow, upload photo and video and etc)! Write on python.
Stars: ✭ 2,357 (+209.32%)
Mutual labels:  library, instagram
Instapy Cli
✨ Python library and CLI to upload photo and video on Instagram. W/o a phone!
Stars: ✭ 498 (-34.65%)
Mutual labels:  library, instagram
Ypimagepicker
📸 Instagram-like image picker & filters for iOS
Stars: ✭ 3,661 (+380.45%)
Mutual labels:  library, instagram
Instagram Api
Instagram's private API
Stars: ✭ 5,168 (+578.22%)
Mutual labels:  library, instagram
Itext7 Dotnet
iText 7 for .NET is the .NET version of the iText 7 library, formerly known as iTextSharp, which it replaces. iText 7 represents the next level of SDKs for developers that want to take advantage of the benefits PDF can bring. Equipped with a better document engine, high and low-level programming capabilities and the ability to create, edit and enhance PDF documents, iText 7 can be a boon to nearly every workflow.
Stars: ✭ 698 (-8.4%)
Mutual labels:  library
Navigation Toolbar Android
Navigation toolbar is a slide-modeled UI navigation controller made by @Ramotion
Stars: ✭ 732 (-3.94%)
Mutual labels:  library
Socialmanagertools Igbot
🤖 📷 Instagram Bot made with love and nodejs
Stars: ✭ 699 (-8.27%)
Mutual labels:  instagram
Libvncserver
LibVNCServer/LibVNCClient are cross-platform C libraries that allow you to easily implement VNC server or client functionality in your program.
Stars: ✭ 695 (-8.79%)
Mutual labels:  library
React Instagram Clone 2.0
A reactive Single-Page Instagram-Clone with some new features!! 💪📸👓
Stars: ✭ 756 (-0.79%)
Mutual labels:  instagram
Photo Editor
Photo editor with a lot of cool features
Stars: ✭ 753 (-1.18%)
Mutual labels:  instagram
Barinsta
Open-source alternative Instagram client on Android.
Stars: ✭ 717 (-5.91%)
Mutual labels:  instagram
Flowing Gradient
Android Library to make a flowing gradient effect, similar to that used in Instagram Android login screen
Stars: ✭ 701 (-8.01%)
Mutual labels:  instagram
Goinsta
Unofficial Instagram API written in Golang
Stars: ✭ 733 (-3.81%)
Mutual labels:  instagram
Instagram Web Api
🤳 Instagram Private Web API client for Node
Stars: ✭ 694 (-8.92%)
Mutual labels:  instagram
Android Hot Libraries
收集总结 Android 项目中值得推荐的优秀开源项目
Stars: ✭ 755 (-0.92%)
Mutual labels:  library
Cxf
Apache CXF
Stars: ✭ 697 (-8.53%)
Mutual labels:  library
Liquidswipe
Android LiquidSwipe Library
Stars: ✭ 721 (-5.38%)
Mutual labels:  library
Libssh2
the SSH library
Stars: ✭ 743 (-2.49%)
Mutual labels:  library

StoriesProgressView

Library that shows a horizontal progress like Instagram stories.

^She is Yui Kobayashi

How to Use

To see how a StoriesProgressView can be added to your xml layouts, check the sample project.

    <jp.shts.android.storiesprogressview.StoriesProgressView
        android:id="@+id/stories"
        android:layout_width="match_parent"
        android:layout_height="3dp"
        android:layout_gravity="top"
        android:layout_marginTop="8dp" />

Overview

public class YourActivity extends AppCompatActivity implements StoriesProgressView.StoriesListener {
    private StoriesProgressView storiesProgressView;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        storiesProgressView = (StoriesProgressView) findViewById(R.id.stories);
        storiesProgressView.setStoriesCount(PROGRESS_COUNT); // <- set stories
        storiesProgressView.setStoryDuration(1200L); // <- set a story duration
        storiesProgressView.setStoriesListener(this); // <- set listener
        storiesProgressView.startStories(); // <- start progress
    }

    @Override
    public void onNext() {
        Toast.makeText(this, "onNext", Toast.LENGTH_SHORT).show();
    }

    @Override
    public void onPrev() {
        // Call when finished revserse animation.
        Toast.makeText(this, "onPrev", Toast.LENGTH_SHORT).show();
    }

    @Override
    public void onComplete() {
        Toast.makeText(this, "onComplete", Toast.LENGTH_SHORT).show();
    }

    @Override
    protected void onDestroy() {
        // Very important !
        storiesProgressView.destroy();
        super.onDestroy();
    }
}

Skip and Reverse story

  storiesProgressView.skip();
  storiesProgressView.reverse();

Pause and Resume story

  storiesProgressView.pause();
  storiesProgressView.resume();

Install

Add it in your root build.gradle at the end of repositories:

allprojects {
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
}

Add the dependency

dependencies {
    implementation 'com.github.shts:StoriesProgressView:3.0.0'
}

License

Copyright (C) 2017 Shota Saito(shts)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].