Android 12 Developer Preview is here! Try it out, and give us your feedback!

OnClickListener

public interface OnClickListener

com.google.android.libraries.car.app.model.OnClickListener


A listener of click events.

Summary

Public methods

abstract void onClick()

Notifies that a click happened.

Public methods

onClick

public abstract void onClick ()

Notifies that a click happened.