Hi Manfred,
You are telling to check the screen priority in one class component, right?
I just want to compare the priority of the one classA with priority of the classB
before that I need to check classB is active or not.
1)How to create common priority property for ClassA & ClassB
2)How to handle below logic in generic way? I don't want to directly check ClassB to check the case. [E.g., we can expect different classes (class C, Class D) in run time]
ClassA:
if(ClassB is active)
{
if (ClassA Priority > ClassB priority)
{
present ClassA;
}
else
{
Switch to ClassB;
}
}