e22b0d7 In the onCreate method in MainActivity there's a set of if statements that depending on which previous activity opened MainActivity is decides what content to present. This code contain multiple lines that aren't relevant anymore.
We need to come up with a set of rules instead of ambiguous comparisons based on strings.
My first approach would be to create a new method in appManager that recieves the name of the class that opened MainActivity and it returns the correct set of instructions to execute.
e22b0d7 In the onCreate method in MainActivity there's a set of if statements that depending on which previous activity opened MainActivity is decides what content to present. This code contain multiple lines that aren't relevant anymore.
We need to come up with a set of rules instead of ambiguous comparisons based on strings.
My first approach would be to create a new method in appManager that recieves the name of the class that opened MainActivity and it returns the correct set of instructions to execute.