Created
February 4, 2016 22:49
-
-
Save briansalvattore/fa61d47067e263318244 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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