Android Question Send activity as a parameter

Avansys

Member
Licensed User
Longtime User
Hi,

I want to send an activity as a parameter but the IDE throws the following error (attached image).

This is my code:

<code>
Comun.encontroError(flujoClientes, Comun.obtenerError(RootElements), "changeLblLoadRewardsText", Comun.TASK_LOAD_DELIVERIES, 1, True, Me)

.
.
.

Sub encontroError(Actividad As Activity, Reason As String, etiqueta As String, TaskId As Int, tipo As Int, Stop As Boolean, Service As Object)
End Sub
</code

Is this possible? How can I do it?

Thanks.
 

Attachments

  • error image.png
    error image.png
    40.3 KB · Views: 181

lemonisdead

Well-Known Member
Licensed User
Longtime User
Hello,
Have you tried to pass Activity instead of Me ?
 
Upvote 0
Top