-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnClickListener,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback,android.widget.RatingBar.OnRatingBarChangeListener,androidx.appcompat.app.AppCompatCallback
public final class RatingDialog extends AppCompatDialog implements RatingBar.OnRatingBarChangeListener, View.OnClickListener
Created by ahulr on 24-10-2016.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classRatingDialog.Companionpublic final classRatingDialog.Builder
-
Constructor Summary
Constructors Constructor Description RatingDialog(Context context, RatingDialog.Builder builder)
-
Method Summary
Modifier and Type Method Description UnitonClick(View view)UnitonRatingChanged(RatingBar ratingBar, Float v, Boolean b)Unitshow()final UnitincrementSessionCount()final UnitresetCount()-
Methods inherited from class androidx.appcompat.app.AppCompatDialog
cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu -
Methods inherited from class com.codemybrainsout.ratingdialog.RatingDialog
addContentView, dismiss, dispatchKeyEvent, findViewById, getDelegate, getSupportActionBar, invalidateOptionsMenu, onStop, onSupportActionModeFinished, onSupportActionModeStarted, onWindowStartingSupportActionMode, setContentView, setContentView, setContentView, setTitle, setTitle, superDispatchKeyEvent, supportRequestWindowFeature -
Methods inherited from class android.app.Dialog
onPointerCaptureChanged, onProvideKeyboardShortcuts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
RatingDialog
RatingDialog(Context context, RatingDialog.Builder builder)
-
-
Method Detail
-
onRatingChanged
Unit onRatingChanged(RatingBar ratingBar, Float v, Boolean b)
-
incrementSessionCount
final Unit incrementSessionCount()
-
resetCount
final Unit resetCount()
-
-
-
-