You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Snapshot dev log see dev branch:**[**branch-dev**](https://github.com/razerdp/BasePopup/tree/dev)
129
129
130
-
***【Snapshot】2.3.0** (2021/04/30)
131
-
* Migration to maven central
130
+
***【Release】3.1.0** (2021/05/28)
131
+
* This update is a destructive update, so if you are still on version 2.x before updating, please make sure you read the following two notes.
132
+
* As JCenter is no longer in service, it will be migrated to MavenCentral starting with version 3.0. The new dependency groupId is `io.github.razerdp`, see [Download](#Download) above for details.
133
+
* Version 3.0 is a destructive update that affects all BasePopupWindow subclasses, but the changes will not be extensive, see [Note on destructive update to BasePopup 3.0](./Update_3.0.md)
134
+
* 【Optimise】
135
+
* Add api: `hideKeyboardOnShow(boolean)`, whether to put away the keyboard when BasePopup is displayed, default is put away
* The mask now only performs a dismiss when it is clicked (previously it only determined if action_up was inside the mask)
139
+
*`onOutSideTouch` adds the `isMaskPressed` param
140
+
* 【Api Modification】
141
+
* Delete **BaseLazyPopupWindow**: henceforth there is no need to distinguish between lazy loading and normal BasePopupWindow, and the reliance on BasePopupWindow is uniform
142
+
* Remove the method `onCreateConstructor`: this method is actually for the BaseLazyPopupWindow and is not needed now that there is no more BaseLazyPopupWindow.
143
+
* Delete method `onCreateContentView`: the deletion of this method will affect all BasePopupWindow subclasses and you will need to change them manually
144
+
* This method will be replaced by `setContentView(@LayoutRes int layoutResID)` or `setContentView(final View view)`, which you will need to modify to use.
145
+
* If you use `setContentView(final View view)`, we still recommend that you use setContentView(createPopupById(layoutResID)) so that we parse to the correct xml configuration.
146
+
* 【Bug fixed】
147
+
* Fix Popup size not updating after screen rotation
0 commit comments