c++ and kotlin (android) integration

I'm new to android development (and to using 2+ languages for 1 project) and I'm going to make an application the main part of which (graphics, openGL - I'm sure I can integrate it with android) is written on c++. So I would like to know if it is possible receiving some data from kotlin part (for example, button push) while c++ code is running? This way user pushes a button and gets graphics result without restarting c++ part. Thanks. P.S. or are there any easy ways for graphics wihtout using smth like unity, idk?