alexis,
@alexis@foxgirl.land avatar

i finally found something that even mentioned passing a callback from native code to java via jni. i'm still not entirely sure if this is the best or only path to pass callbacks to java. the types of functions i'm planning on passing as callbacks are:

the page mentioning the callback is https://stackoverflow.com/a/1391240

pub fn positive_button_function() {
    info!("Positive button pressed...");
}

or

|| {
    info!("Positive button pressed...");
}

anyone have any suggestions on how to implement this?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines