Scene Versions Save

Android Single Activity Applications framework without Fragment.

v1.3.0

2 years ago

please add new dependency to your build.gradle

	implementation 'com.github.bytedance.scene:scene_navigation:$latest_version'

Full Changelog: https://github.com/bytedance/scene/compare/v1.2.0...v1.3.0

v1.2.0

3 years ago

Important:next version will move NavigationScene to scene-navigation library

feature

  • feature: UserVisibleHintGroupScene add getUserVisibleHintLifecycleOwner() 2e9df6f

refactor

  • refactor: refactor Scene.getNavigationScene and Scene.requireNavigationScene, prepare to splite navigation library 9fa0bd2
  • refactor: add SuppressOperationAware interface, remove GroupSceneManager's reference to NavigationScene 70d063d
  • refactor: replace some getNavigationScene() & requireNavigationScene() usage with NavigationSceneGetter a463127

v1.1.0

3 years ago

migrate to androidx

v1.0.6

3 years ago

Important:next version will migrate to androidx from support

feature

  • feature: add AlertDialogScene c6f741b

refactor

  • refactor: ScenePageAdapter throw exception if ViewPager don't have view id 0a7a761
  • refactor: set NavigationAnimatorExecutor enableViewLayer default value to false 9b365d1
  • refactor: SceneActivity add getHomeSceneArguments(Intent) a9c8066

v1.0.5

3 years ago

refactor

  • refactor: when NavigationScene destroy, the top child Scene should be destroyed first 9618121
  • refactor: ensure ScenePageAdapter behavior will be consistent with FragmentPagerAdapter, the visible UserVisibleHintGroupScene will receive setUserVisibleHint(false) first, then setUserVisibleHint(true) e32dfcf
  • refactor: add more information to SceneInternalException 87aa6b2
  • refactor: deprecate NavigationTransitionExecutor e8610af
  • refactor: add more SceneInternalException 22784ea

fix

  • fix: fix ViewRefUtility.cancelViewTouchTargetFromParent npe cd1f72cc
  • fix: fix BottomNavigationViewScene sort problem 4d99883

feature

  • feature: add scene-dialog library 074ddf5
  • feature: ChildSceneLifecycleCallbacks add onSceneViewCreated 4c47e48

v1.0.4

4 years ago

refactor

  • refactor: If Scene don't have theme, its view context will be Activity 1315668
  • refactor: deprecate isShow, add isShowing 0b19b65
  • refactor: only visible Scene can intercept app back event 3dc15e1
  • refactor: make sure the view which is in onTouchEvent process can receive MotionEvent.ACTION_CANCEL before Scene destroy it 427d031

fix

  • fix: NavigationViewScene will close drawer if it is opened when user press back button a11316c
  • fix: fix sometimes shared element animation is not working after startPostponedEnterTransition() 9e2539e

v1.0.3

4 years ago

feature

  • feature: Scene add getDebugSceneHierarchy() method d751b56
  • feature: add Scene.startActivityForResult(Intent, Int, Bundle?) 894c46a

refactor

  • refactor: add Trace a115cf4
  • refactor: SceneActivity use non deprecated NavigationSceneUtility.setupWithActivity method 9859d53

v1.0.2

4 years ago

feature

  • NavigationScene GroupScene provide disableSupportRestore() to control child Scene save/restore policy 009e304
  • add ScenePlaceHolderView.setSceneComponentFactory c56b99c
  • add GroupSceneUtility, provides the ability to bind GroupScene to Activity directly 78e48a1
  • add GroupSceneCompatUtility, provides the ability to bind GroupScene to Fragment directly 3be4397
  • add Scope[] operator 043fab3
  • add ViewUtility.findSceneByView(View) View.requireScene() View.requireNavigationScene() fc90c6b

refactor

  • deprecate NavigationSceneAvailableCallback 800214b
  • ScenePlaceHolderView can use empty class name and tag when it is used in xml layout 237fec2
  • Scene library remove APPCOMPAT_LIB dependency 11dca0b

fix

  • fix NavigationBarView StatusBarView requestLayout not working issue 0fe470c
  • SceneDelegate abandon() should remove NavigationScene view c3e2466
  • if navigation operation is invoked in lifecycle callbacks, post it to next handler message 8e9ddcc

v1.0.1

4 years ago

feature

  • add ScenePlaceHolderView to support add Scene to XML, optimize Scene layout hierarchies 931a438
  • GroupScene add findTagByScene() method 6e2d5c8
  • add Scene.startActivityForResult Scene.requestPermissions (scene-ktx library) b1d3071

improve

  • optimize NavigationScene layout hierarchies f86de97

refactor

  • GroupScene improve child Scene view visibility design 3200ef5
  • rename GroupSceneUtility to GroupSceneUIUtility ad6b50e

fix

  • fix LifecycleRegistry WeakReference gc issue e36cd57