wajahatkarim3 / Mediumclap Android
Licence: apache-2.0
π The Medium's Clapping Effect developed in Android
Stars: β 485
Programming Languages
kotlin
9241 projects
Projects that are alternatives of or similar to Mediumclap Android
medium-to-wordpress-migration
Script to export medium blogs to wordpress rss xml format
Stars: β 15 (-96.91%)
Mutual labels: medium
Smalleditor
Small WYSIWYG editor with delta save, inspired by Medium
Stars: β 257 (-47.01%)
Mutual labels: medium
Applause Button
A zero-configuration medium-style button for adding applause / claps / kudos to web pages and blog posts
Stars: β 343 (-29.28%)
Mutual labels: medium
medium-sdk-php
Open source SDK for integrating Medium's OAuth2 API into your PHP application.
Stars: β 79 (-83.71%)
Mutual labels: medium
koleton
The easiest library to show skeleton screens in an Android app.
Stars: β 84 (-82.68%)
Mutual labels: android-animation
Tickview
δΈδΈͺη²Ύθ΄εΈ¦ζηζι©ε°ε¨η»
Stars: β 284 (-41.44%)
Mutual labels: android-animation
Booksearch
A digital BookShelf for your reading progress.
Stars: β 441 (-9.07%)
Mutual labels: medium
integrate-io
Cross-Post your blogs between dev.to, Medium and Hashnode π
Stars: β 21 (-95.67%)
Mutual labels: medium
fast-image-zoom
π Fast image zoom on click as seen on popular publishing platform
Stars: β 21 (-95.67%)
Mutual labels: medium
medium-2-md
A CLI tool that converts exported Medium posts (html) to Jekyll/Hugo compatible markdown with frontΒ matter.
Stars: β 113 (-76.7%)
Mutual labels: medium
Medium To Own Blog
Switch from Medium to your own blog in a few minutes
Stars: β 3,017 (+522.06%)
Mutual labels: medium
zoom.ts
A lightweight TypeScript library for image zooming, as seen on Medium.
Stars: β 44 (-90.93%)
Mutual labels: medium
Android Extensions
An Android library with modules to quickly bootstrap an Android application.
Stars: β 356 (-26.6%)
Mutual labels: android-animation
bypass-paywalls-chrome-clean-magnolia1234
Bypass Paywalls Chrome Clean (GitLab proxy)
Stars: β 32 (-93.4%)
Mutual labels: medium
Avenging
MVP pattern example on Android: no Dagger or RxJava example
Stars: β 279 (-42.47%)
Mutual labels: medium
Gatsby Starter Mate
An accessible and fast portfolio starter for Gatsby integrated with Contentful CMS.
Stars: β 472 (-2.68%)
Mutual labels: medium
Ticker
An Android text view with scrolling text change animation
Stars: β 4,194 (+764.74%)
Mutual labels: android-animation
Medium Unlimited
A browser extension to read medium.com articles for free without membership.
Stars: β 4,482 (+824.12%)
Mutual labels: medium
π MediumClap-Android
Built with β€οΈ by
Wajahat Karim and
contributors
A Custom Floating Action Button (FAB) library like clapping effect on Medium
π How-To Article
βοΈ Changelog
Changes exist in the releases tab.
π» Installation
Add this in your app's build.gradle file:
dependencies {
implementation 'com.wajahatkarim3.clapfab:clapfab:1.0.6'
}
Or add ClapFab as a new dependency inside your pom.xml
<dependency>
<groupId>com.wajahatkarim3.clapfab</groupId>
<artifactId>clapfab</artifactId>
<version>1.0.6</version>
<type>pom</type>
</dependency>
β Usage
<com.wajahatkarim3.clapfab.ClapFAB
android:id="@+id/clapFAB"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:layout_marginTop="8dp"
app:cf_count_circle_color="@color/colorAccent"
app:cf_count_text_color="@color/white_color"
app:cf_default_icon="@drawable/ic_star_border_black_24dp"
app:cf_default_icon_color="@color/colorAccent"
app:cf_dots_1_color="@android:color/holo_green_dark"
app:cf_dots_2_color="@color/colorAccent"
app:cf_filled_icon="@drawable/ic_star_black_24dp"
app:cf_filled_icon_color="@color/colorAccent"
app:cf_max_clap_count="20"
app:cf_clap_count="10"
app:cf_format_clap_count="true"
app:cf_long_press_enabled="false"
app:cf_long_press_clap_interval="300"/>
π¨ Customization and Attributes
All customizable attributes for ClapFab
Attribute Name | Default Value | Description |
---|---|---|
app:cf_default_icon | @drawable/ic_clap_hands_outline | The default icon of the ClapFab button |
app:cf_filled_icon | @drawable/ic_clap_hands_filled | The filled icon after clapping of the ClapFab button |
app:cf_default_icon_color | @color/colorClapIcon | The color of default icon of the ClapFab button |
app:cf_filled_icon_color | @color/colorClapIcon | The filled color of icon after clapping of the ClapFab button |
app:cf_max_clap_count | 50 | The maximum count of clapping of the ClapFab button |
app:cf_count_circle_color | @color/colorClapIcon | The color of count's circle background |
app:cf_count_text_color | @android:color/white | The color of count's circle text |
app:cf_dots_1_color | @color/dotsColor1 | The color of particle's dots 1 |
app:cf_dots_2_color | @color/dotsColor2 | The color of particle's dots 2 |
app:cf_clap_count | 0 | The default clap count |
app:cf_format_clap_count | true | True, if the formatter for clap count is enabled. Formatter will convert 1000 to 1.0K etc. |
app:cf_long_press_enabled | true | The flag to turn on/off the long press auto-clap ability. Default is true. |
app:cf_long_press_clap_interval | 300 | The interval to automatically clap on long press in milliseconds. Default is 300ms |
Clap Listener
ClapFAB clapFAB = (ClapFAB) findViewById(R.id.clapFAB);
clapFAB.setClapListener(new ClapFAB.OnClapListener() {
@Override
public void onFabClapped(@NotNull ClapFAB clapFab, int count, boolean isMaxReached) {
// count is the current count of the clapping
// isMaxReached is true when button has already reached the maximum count
// and is not being clapped anymore. Otherwise its false
}
});
π Libraries Used
- ViewAnimator https://github.com/florent37/ViewAnimator
- DotsView from Like Animation https://github.com/jd-alexander/LikeButton
π₯ Achievements
- #1 on Github Trending in Kotlin language from 22nd June, 2018 to 24th June, 2018
- Featured in Caster IO's weekly #AndroidDev Digest in the Issue #193
- Featured in Infinum's weekly #AndroidSweets newsletter issue #4
- Featured in Mindork's Kotlin Weekly Update 44
- Featured in Android Weekly China's Issue #185
- Mentioned in an article about publishing libraries on jCenter on AndroidPub
π° Donations
This project needs you! If you would like to support this project's further development, the creator of this project or the continuous maintenance of this project, feel free to donate. Your donation is highly appreciated (and I love food, coffee and beer). Thank you!
PayPal
- Donate $5: Thank's for creating this project, here's a tea (or some juice) for you!
- Donate $10: Wow, I am stunned. Let me take you to the movies!
- Donate $15: I really appreciate your work, let's grab some lunch!
- Donate $25: That's some awesome stuff you did right there, dinner is on me!
- Donate $50: I really really want to support this project, great job!
- Donate $100: You are the man! This project saved me hours (if not days) of struggle and hard work, simply awesome!
- Donate $2799: Go buddy, buy Macbook Pro for yourself!
Of course, you can also choose what you want to donate, all donations are awesome!
π¨ Developed By
Wajahat Karim
- Website (http://wajahatkarim.com)
- Twitter (http://twitter.com/wajahatkarim)
- Medium (http://www.medium.com/@wajahatkarim3)
- LinkedIn (http://www.linkedin.com/in/wajahatkarim)
π How to Contribute
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
π License
Copyright 2018 Wajahat Karim
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].