ThirtyInch v0.8.0-rc4 Release Notes

Release Date: 2017-04-25 // almost 7 years ago
  • 2017-04-25

    ๐Ÿฑ Most likely the last RC before releasing 0.8.0 ๐ŸŽ‰

    thirtyinch

    • ๐Ÿ›  Bugfix: TiPresenter gets destroyed when TiFragment gets removed from the FragmentManager #78 #33 #83 #68
    • ๐Ÿ†• New: TiFragment supports the backstack #78
    • ๐Ÿ†• New: restrict TiActivity, TiFragment... API for subclasses. #79
    • ๐Ÿ†• New: @CallSuper where a super call is required. #79
    • ๐Ÿ—„ Deprecation: TiConfiguration#setUseStaticSaviorToRetain(Boolean) is now deprecated. The Savior singleton is always used to retain presenters when TiConfiguration#setRetainPresenterEnabled(true). This also means that TiActivity dropped support for the NonConfigurationInstance API #78
    • 0๏ธโƒฃ Change: TiFragment was initially using setRetainInstanceState(true). TiFragment uses now the default: setRetainInstanceState(false). When you try to set TiFragment#setRetainInstanceState(true) it will throw. #78 #67
    • ๐Ÿ†• New: No hard checks required to detect "Don't keep Activities", destroying the TiPresenter works now with the Activity API only. #78

    rx

    • ๐Ÿ†• New: manage*Subscription will now return Subscription #73
    • Change: manage*Subscription(Subscription...) is now manage*Subscriptions(Subscription...) (note the S here), was introduced in an earlier RC and is no breaking change. #73

    rx2

    • ๐Ÿ†• New: manage* Disposable will not return Disposable #73
    • Change: manage* Disposable(Disposable...) is now manage* Disposables(Disposable...) (note the S here ๐Ÿ˜‰), was introduced in an earlier RC and is no breaking change. #73

    sample

    • ๐Ÿ†• New: retrolambda support #69 thx @jonathan-caryl
    • ๐Ÿ†• New: FragmentLifecycleActivity to test Fragments #78
    • ๐Ÿ†• New: LifecycleViewPagerActivity to test Fragments in a ViewPager #84

    ๐Ÿ†• New: logginginterceptor

    • ๐Ÿ†• New: LoggingInterceptor logs all method calls to the TiView interface to TiLog for debugging. Don't forget to enable TiLog or pass a custom Logger to the LoggingInterceptor constructor. #85

    compile "net.grandcentrix.thirtyinch:thirtyinch-logginginterceptor:$thirtyinchVersion"

    // register TiLog in your Applicationif (BuildConfig.DEBUG) { TiLog.setLogger(TiLog.LOGCAT); }public class MyActivity extends TiActivity\<MyPresenter, MyView\> implements MyView { public MyActivity() { // log by default to TiLog addBindViewInterceptor(new LoggingInterceptor()); // log to logcat for debug builds addBindViewInterceptor(new LoggingInterceptor(BuildConfig.DEBUG ? TiLog.LOGCAT : null)); } }
    

    Diff

    v0.8.0-rc3...v0.8.0-rc4