Flare
Flare provide the easy implementation of circular indicator with ViewPager. (ViewPager Indicator)
Install / Use
npx skills add IntruderShanky/FlareInstalls into whichever agent you are using.
README
Flare
Flare provide the easy implementation of circular indicator with ViewPager. (ViewPager Indicator)
<a href='https://play.google.com/store/apps/details?id=com.intrusoft.islibrarydemo&utm_source=global_co&utm_small=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width="193" height="75"/></a>
Preview

Usage
Step 1. Add the JitPack repository to your build file
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Step 2. Add the dependency
dependencies {
compile 'com.github.IntruderShanky:Flare:1.0.2'
}
Implementation
###XML Implementation:
<com.intrusoft.indicator.Flare
android:id="@+id/indicator"
android:layout_width="match_parent"
android:layout_height="30dp"
flare:indicator_color="@color/indicator_color"
flare:indicator_gap="20dp" />
###Attributes ####Indicator Color
flare:indicator_color="@color/indicator_color"
####Indicator Gap Distance between the centers of two indicators
flare:indicator_gap="20dp"
###Java Implementation:
Flare indicator = (Flare) findViewById(R.id.indicator);
ViewPager pager = (ViewPager) findViewById(R.id.pager);
//setting Adapter
pager.setAdapter(new PagerAdapter() /* Your PagerAdapter */);
//setting PageChangeListener
pager.addOnPageChangeListener(this /* OnPageChangeListener */);
//setting Flare
indicator.setUpWithViewPager(pager);
indicator.addOnPageChangeListener(this /* OnPageChangeListener */);
//Customize Flare
indicator.setIndicatorColor(Color.BLUE);
indicator.setIndicatorGap(20);
#Licence
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.
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
