https://github.com/anwesh43/storyview
A android library to create stories in your app
https://github.com/anwesh43/storyview
android androidviewanimations androidviews gesture java stories ui views whatsappstories
Last synced: 3 months ago
JSON representation
A android library to create stories in your app
- Host: GitHub
- URL: https://github.com/anwesh43/storyview
- Owner: Anwesh43
- Created: 2017-03-25T12:02:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-25T12:35:44.000Z (about 9 years ago)
- Last Synced: 2025-07-14T10:22:10.922Z (11 months ago)
- Topics: android, androidviewanimations, androidviews, gesture, java, stories, ui, views, whatsappstories
- Language: Java
- Size: 4.97 MB
- Stars: 11
- Watchers: 3
- Forks: 8
- Open Issues: 1
-
Metadata Files:
- Readme: readme.MD
Awesome Lists containing this project
README
# StoryView
## A library to create awesome stories in your app similar to new Whatsapp status update.
## Usage
### Creating a Story(In Activity)
```
Story story = Story.getInstance(this);
```
### Creating a Status(In Activity)
```
Status status = Status.newInstance(BitmapFactory.decodeResource(getResources(),R.drawable.kol),"Kings Of Leon",new Date());
```
### Adding status to a Story
```
story.addStatus(status);
```
### Adding profile to the story
```
story.setProfilePart(BitmapFactory.decodeResource(getResources(),R.drawable.profile_img),"Anwesh");
```
### Showing the story
```
story.show();
```
### Demo