Skip to content

Instantly share code, notes, and snippets.

@briansalvattore
Created February 4, 2016 22:49
Show Gist options
  • Save briansalvattore/fa61d47067e263318244 to your computer and use it in GitHub Desktop.
Save briansalvattore/fa61d47067e263318244 to your computer and use it in GitHub Desktop.
public void Init(Function fun){
this.fun=fun;
int layout = KonyMain.getActivityContext().getResources().getIdentifier("imsign_container","layout", KonyMain.getActivityContext().getPackageName());
int pinpadID = KonyMain.getActivityContext().getResources().getIdentifier("mainSignaturePadv2","id",KonyMain.getActivityContext().getPackageName());
KonyMain.getActivityContext().setContentView(layout);
sign = new IMSign(KonyMain.getActivityContext(), KonyMain.getActivityContext().findViewById(pinpadID));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment