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

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -