android - How to call function of main activity in custom View class? -
so far i've searched, can make onclick listener on custom view achieve such task.
my problem is, don't clicking solve, want call function @ specific operation complete or starts of custom view example.
in xml :
custom:onmytaskcomplete="mainfunction" custom:onmytaskstart="mainfunction1" in main activity there 2 functions called on these operations. i've been searching crazy , couldn't find solution or hints appreciated thanks.
Comments
Post a Comment