kojofosu/Quantitizer

setQuantitizerListener Java

Closed this issue · 2 comments

Hey man,

nice library but i cant figure out how to use the Listener in an java instead of Kotlin

hope u can provide me with some sample code

HorizontalQuantitizer horizontalQuantitizer = findViewById(R.id.hq);
horizontalQuantitizer.setQuantitizerListener(new QuantitizerListener() {
    @Override
    public void onIncrease() {
      // TODO write code
    }

    @Override
    public void onDecrease() {
     // TODO write code
    }
});

Hey,

thank you for your fast Response.
Now that i read the code its so obvious i think i should stop working for today 🤣