chore: add notes for context view
This will allow the details to be seen when highlighting these items in Android Studio
This commit is contained in:
parent
2233f1ce44
commit
25046e4c11
1 changed files with 8 additions and 2 deletions
|
@ -42,9 +42,15 @@ class AndroidBug5497Workaround private constructor(activity: Activity, private v
|
|||
return r.bottom
|
||||
}
|
||||
|
||||
/**
|
||||
* Fixes windowSoftInputMode adjustResize when used with setDecorFitsSystemWindows(false)
|
||||
*
|
||||
* @see <a href="https://issuetracker.google.com/issues/36911528">adjustResize breaks when activity is fullscreen </a>
|
||||
*/
|
||||
companion object {
|
||||
// For more information, see https://issuetracker.google.com/issues/36911528
|
||||
// To use this class, simply invoke assistActivity() on an Activity that already has its content view set.
|
||||
/**
|
||||
* Called on an Activity after the content view has been set.
|
||||
*/
|
||||
fun assistActivity(activity: Activity, callback: (Boolean) -> Unit) {
|
||||
AndroidBug5497Workaround(activity, callback)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue