I want to use the same featuretable object for different feature layers in my app.
The user can choose either of the feature layers with the press of the button.
Now when the button is pressed for the first time the things work fine. But if the user goes back to the home page and presses the other button and proceeds then the issue is that the fields of both the feature layers are visible instead of just the one feature layer selected.
I think this issue is because the information of the previous feature layer is still there in the geodatabasefeatureservicetable.
So how can i reset this when the button is pressed.