This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
v0.8.0-rc4
Pre-release
Pre-release
2017-04-25
Most likely the last RC before releasing 0.8.0 🎉
thirtyinch
- Bugfix:
TiPresenter
gets destroyed whenTiFragment
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. TheSavior
singleton is always used to retain presenters whenTiConfiguration#setRetainPresenterEnabled(true)
. This also means thatTiActivity
dropped support for theNonConfigurationInstance
API #78 - Change:
TiFragment
was initially usingsetRetainInstanceState(true)
.TiFragment
uses now the default:setRetainInstanceState(false)
. When you try to setTiFragment#setRetainInstanceState(true)
it will throw. #78 #67 - New: No hard checks required to detect "Don't keep Activities", destroying the
TiPresenter
works now with theActivity
API only. #78
rx
- New:
manage*Subscription
will now returnSubscription
#73 - Change:
manage*Subscription(Subscription...)
is nowmanage*Subscriptions(Subscription...)
(note the S here), was introduced in an earlier RC and is no breaking change. #73
rx2
- New:
manage* Disposable
will not returnDisposable
#73 - Change:
manage* Disposable(Disposable...)
is nowmanage* 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 theTiView
interface toTiLog
for debugging. Don't forget to enableTiLog
or pass a customLogger
to theLoggingInterceptor
constructor. #85
compile "net.grandcentrix.thirtyinch:thirtyinch-logginginterceptor:$thirtyinchVersion"
// register TiLog in your Application
if (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));
}
}