baku-toolkit/lib/src/main/java/io/v/baku/toolkit/debug/RemoteInspection.java
/**
     * Shows a dialog box to send remote inspection invitations, enable remote inspection, and
     * disable remote inspection.
     */
Shows a dialog box to send remote inspection invitations, enable remote inspection, and
disable remote inspection.
Shows a dialog box to send remote inspection invitations enable remote inspection and disable remote inspection .
public void showDialog() {
        final AlertDialog.Builder builder =
                new AlertDialog.Builder(mVAndroidContext.getAndroidContext())
                        .setView(R.layout.dialog_inspect)
                        .setCancelable(true)
                        .setPositiveButton(R.string.inspect_invite, (d, b) -> {
                            final EditText email = (EditText)
                                    ((AlertDialog) d).findViewById(R.id.inspect_email);
                            emailInvitation(email.getText().toString(),
                                    DEFAULT_INVITATION_DURATION);
                        });
        if (isEnabled()) {
            builder.setNegativeButton(R.string.inspect_disable, (d, b) -> disable());
        } else {
            builder.setNegativeButton(R.string.inspect_enable, (d, b) -> enable());
        }
        builder.show();
    }
public void showDialog ( ) { final AlertDialog . Builder builder = new AlertDialog . Builder ( mVAndroidContext . getAndroidContext ( ) ) . setView ( R . layout . dialog_inspect ) . setCancelable ( true ) . setPositiveButton ( R . string . inspect_invite , ( d , b ) -> { final EditText email = ( EditText ) ( ( AlertDialog ) d ) . findViewById ( R . id . inspect_email ) ; emailInvitation ( email . getText ( ) . toString ( ) , DEFAULT_INVITATION_DURATION ) ; } ) ; if ( isEnabled ( ) ) { builder . setNegativeButton ( R . string . inspect_disable , ( d , b ) -> disable ( ) ) ; } else { builder . setNegativeButton ( R . string . inspect_enable , ( d , b ) -> enable ( ) ) ; } builder . show ( ) ; }
Shows a dialog box to send remote inspection invitations, enable remote inspection, and
 disable remote inspection.
Shows a dialog box to send remote inspection invitations enable remote inspection and disable remote inspection .