Obsolete
Status Update
Comments
ti...@google.com <ti...@google.com> #2
I guess hidden should just be defined. Meaning, right now, hidden should just defined as "whether this fragment was hidden as part of a transaction". Hidden is not equivalent with visibility. I think that's where the confusion comes from.
ka...@gmail.com <ka...@gmail.com> #3
We have passed this to the development team and will update this issue with more information as it becomes available.
ti...@google.com <ti...@google.com> #4
Yeah, I'm seeing this issue as well, currently this is the workaround that I've come up with:
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
// This method is called when hide()/show() methods are called on the transaction. Unfortunately Android doesn't
// propagate it to the child fragments (even though their visibility is affected by the parent visibility), so we
// do it manually.
override fun onHiddenChanged(hidden: Boolean) {
super.onHiddenChanged(hidden)
childFragmentManager.fragments.forEach { it.onHiddenChanged(hidden) }
}
ka...@gmail.com <ka...@gmail.com> #5
@4 That actually won't technically fix as isHidden() will technically mismatch with the state passed into the child fragment. Each child fragment legitimately needs to have their state set to hidden.
ti...@google.com <ti...@google.com>
me...@gmail.com <me...@gmail.com> #6
Yeah, I realized that as I kept working further on it. Nevermind that solution, it doesn't work.
jp...@google.com <jp...@google.com> #7
@6 I don't know what the ramifications are, but when you iterate, you can save the "currentState" and then hide them all via a transaction. When restoring to visible, restore to the original state.
Description
When the add-on which uses some Google APIs is installed, the scopes are authorized and users can use the APIs. When the API is Google Apps Script API (
The page is
When the switch is turned on, Google Apps Script API can be used.
Can this switch be turned on when the add-on is installed? Because I thought that the operation of switch leads to put a burden on users.
## Reference :
-
-