Skip to content

⚡ A powerful & easy to use rating and feedback library for Android ⚡

Notifications You must be signed in to change notification settings

HaiderQadir/RatingDialog

Repository files navigation

RatingDialog

⚡ A powerful & easy to use rating and feedback library for Android ⚡

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

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

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

Step 2. Add the dependency

dependencies {
	implementation 'com.github.HaiderQadir:RatingDialog:Tag'
}

👉 Replace Tag with the latest released version.

How to use

var fragmentManager = supportFragmentManager
var ratingDialog:RatingDialog = RatingDialog(RatingModel("Title", "Detail", "Comments","Submit", true, 3))
ratingDialog.show(fragmentManager, " ")  

Call this above Snippet in your onCreate() method of Main Activity.

The constructor requires 6 data items mentioned below

  • Title for Feedback Dialog Box as a String
  • Details for Feedback Dialog Box as a String
  • Comments for Feedback Dialog Box as a String
  • Submit Button Text for Feedback Dialog Box as a String
  • isCancelable Property for Dialog Box as a Boolean
  • Rating Threshold for Feedback Dialog Box as an Integer

Key Features 🎯

  • View Pager: Simple and Easy Implementation of View Pager.
  • Indicator: Indicator for View Pager ensures the track of View Pager status.
  • Custom Rounded View Pager UI: Custom design for View Pager items.
  • Secure: Your data, your control. Always.
  • Compatible: Android 24 or upper.
  • Open Source: Freedom is beautiful, so is AndroidViewPager. Open source and free to use.

License 📄

Copyright 2023 Haider Qadir