If I use
#Extends: xxx
attribute. Is it possible to raise events?
For example I want to add onDestroy() method. Is it possible to implement onDestroy() to do something like this:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Problem is how to get a reference to processBA object?
			
			#Extends: xxx
attribute. Is it possible to raise events?
For example I want to add onDestroy() method. Is it possible to implement onDestroy() to do something like this:
			
				B4X:
			
		
		
		    protected void onDestroy() {
        if (processBA.subExists("activity_destroy"))
            processBA.raiseEvent2(null, true, "activity_destroy", false, new Object[0]);
        super.onDestroy();
    }
	Problem is how to get a reference to processBA object?