Roberto P. Well-Known Member Licensed User Longtime User Sep 5, 2014 #1 I can insert an activity in a panel? in practice, I have an activity that I need in various parts of the app and I would like to be able to enter in the panels. you have other ideas? thank you very much greetings rp
I can insert an activity in a panel? in practice, I have an activity that I need in various parts of the app and I would like to be able to enter in the panels. you have other ideas? thank you very much greetings rp
thedesolatesoul Expert Licensed User Longtime User Sep 5, 2014 #2 You cant have an activity in a panel. You can have an activity's layout in the panel. Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Sep 5, 2014 #3 you have been clear. If you specify the layout I lose all logic (business logic) contained in the activity! thanks for the reply Upvote 0
you have been clear. If you specify the layout I lose all logic (business logic) contained in the activity! thanks for the reply
Beja Expert Licensed User Longtime User Sep 5, 2014 #4 If the activity and its layout is the same, why don't you just call it whenever you need it. I think inserting it in many places is redundancy and may be waste of resources. Upvote 0
If the activity and its layout is the same, why don't you just call it whenever you need it. I think inserting it in many places is redundancy and may be waste of resources.
barx Well-Known Member Licensed User Longtime User Sep 5, 2014 #5 I think I understand what you are trying to and to be honest, although it can be done with classes, it is a very complicated process. Upvote 0
I think I understand what you are trying to and to be honest, although it can be done with classes, it is a very complicated process.
ivan.tellez Active Member Licensed User Longtime User Sep 5, 2014 #6 Barx is right, thats one of the purposses of clases. Yo can do a "custom control" Upvote 0
thedesolatesoul Expert Licensed User Longtime User Sep 5, 2014 #7 I agree. One day you will have to refactor your code and it will all go in a class. Upvote 0