NPS android library to get the feedback you need from users

Overview

netpromoterscore

NPS android library helps you to get the feedback you need from the users

Gradle Dependency:

implementation 'com.github.quantumlibs:netpromoterscore:0.1.5'

Adding NPS layout in XML

<lib.quantum.nps.NPSRecyclerView
    android:id="@+id/nps_rv"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/text"
    android:orientation="horizontal"
    android:layout_centerHorizontal="true"
    app:shape="square"
    app:count="10"/>

Set layout attributes

  • for number of boxes

    app:count="10"

  • set answer from layout

    app:answer="3"

  • set answer from layout

    app:shape="square" or app:shape="circle"

Square type

Circle type

Set Selected Answer

npsRV.setSelectedAnswer(1)

Get Selected Answer

npsRV.getSelectedAnswer()

AnswerSelected Listener

npsRV.OnSelectAnswerListner(object : NPSRecyclerView.NPSAnswerSelectedListener {
        
        override fun onAnswerSelected(npsAnswer: Int) {
            Toast.makeText(context, ""+npsAnswer, Toast.LENGTH_SHORT).show()
        }
    })
You might also like...
DSU-Sideloader - A simple app made to help users easily install GSIs via DSU's Android feature
DSU-Sideloader - A simple app made to help users easily install GSIs via DSU's Android feature

DSU Sideloader A simple app made to help users easily install GSIs via DSU's And

Desenvolvimento de um CRUD sabendo lidar com requisições GET, POST, PUT e DELETE. E CAMADA DE PERSISTENCIA

API-REST-com-Kotlin-e-Spring-Boot Aprendemos nesse projeto: Parte 1 - DESENVOLVIMENTO WEB 1- Criação de classes de domínio que representam os recursos

Repo: Programming problems with solutions in Kotlin to help avid Kotlin learners to get a strong hold on Kotlin programming.

Kotlin_practice_problems Repo: Programming problems with solutions in Kotlin to help avid Kotlin learners to get a strong hold on Kotlin programming.

Therapeutic is a platform to help easily connect patients or generally anyone struggling to get through tough times with motivating content and  professional therapists.
Therapeutic is a platform to help easily connect patients or generally anyone struggling to get through tough times with motivating content and professional therapists.

Therapeutic Apk - https://github.com/develNerd/Therapeutic/blob/main/androidApp/release/androidApp-release6.apk Therapeutic is a Kotlin Mobile Multipl

This prototype app provides a list of events to be held under an organization (school, college, club, etc.) and the users can manually set event reminders at their scheduled time so that they do not miss an event.

E-CELL NITS Sample App This prototype app provides a list of events to be held under E-Cell NIT Silchar (for example, Srijan 2.0) and the users can ma

The app features real-time chatting between different users on daily topics

DailyDiscuss The app features real-time chatting between different users on daily topics. The app comes with 2 types of user interface: Admin who crea

Automatically generates UI demos which allow users to call any function with any parameters
Automatically generates UI demos which allow users to call any function with any parameters

Automatically generates UI demos which allow users to call any function (including composable ones) with any parameters. Useful for building demo screens in playground apps of various design systems.

Application for managing users by using Go REST API
Application for managing users by using Go REST API

UsersManagerSliide Application for managing users by using Go REST API Architecture Clean Architecture with MVVM as presentation layer Aceptance crite

A very simple Android app which shows you random memes with the help of meme-api which you can share with your friends!
A very simple Android app which shows you random memes with the help of meme-api which you can share with your friends!

Meme Share A very simple Android app which shows you random memes with the help of meme-api which you can share with your friends! Tech stack 100% wri

Releases(0.1.5)
Owner
Nithin Naubad
Nithin Naubad
Github User App for searching Github Users and get several information from it.

GithubUserApp Github User App for searching Github Users and get several information from it. This code implement with Coroutines, Retrofit, Architect

Wahyu Hendiarto W. 0 Apr 16, 2022
This is a skeleton project for Zircon users that can be used to get started with Zircon.

Zircon Kotlin Skeleton Project This is a skeleton project for Zircon users that can be used to get started with Zircon. Getting started This project w

Vladislav Kashchey 0 May 3, 2022
A Simple Android library to get the number of words and give you the time it will take you to finish an article/story.

MinRead A Simple Android library to get the number of words and give you the time it will take you to finish an article/story. Prerequisite Androidx K

Nwokocha wisdom maduabuchi 36 Nov 17, 2021
A simple tool used to check the users you follow that do not follow you back.

instafbchecker - Instagram no life guide Current Release: v1.0.1 (30/08/2022) A command line tool used to check which users dont follow you back on In

Nathan 2 Aug 30, 2022
Need your data highly available? HaHelper

HaHelper Need your data highly available but don't want the overheard of deploying and managing a third party database? Attach your data directly to y

Quinn Bast 2 Dec 3, 2022
This is a template to help you get started building amazing Kotlin applications and libraries.

Welcome to the Starter This is a template to help you get started building amazing Kotlin applications and libraries. Over time, examples will be comp

Backbone 8 Nov 4, 2022
Kotlin-koans - Kotlin Koans are a series of exercises to get you familiar with the Kotlin Syntax

kotlin-koans-edu Kotlin Koans are a series of exercises to get you familiar with

null 1 Jan 11, 2022
This Kotlin Multiplatform library is for accessing the TMDB API to get movie and TV show content. Using for Android, iOS, and JS projects.

Website | Forum | Documentation | TMDb 3 API Get movie and TV show content from TMDb in a fast and simple way. TMDb API This library gives access to T

Moviebase 37 Dec 29, 2022
To help to promote your android app by prompting users to rate your app in a bottom Sheet.

RateBottomSheet This an Android library to help to promote your Android App by prompting users to rate your app in the Google Play Store with a materi

Farham Hosseini 5 Jul 8, 2022