If you're confused about Android development, maybe it's time to open the door to a new world .
TMVP is a Aop Architecture with AptAspectJJavassisit which based on RealmDatabindingMVP+Retrofit+Rxjava2+MaterialDesign
Build more complex functions with cleaner codetalk is cheap show u the code:
The following code to achieve the list of users to obtain the request, paging, display, just a sentence to achieve the entire complex module(ApiFactory is automatically generated by apt):
mViewBinding.lvUser.getPresenter().setRepository(ApiFactory::getAllUser).fetch();
The user list itemType is its layoutId, set by attr in xml:
<com.base.adapter.TRecyclerView
android:id="@+id/lv_user"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:isRefreshable="false"
app:itemType="@layout/list_item_user"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
no Adapter,no ViewHolder,no onRefreshListeneron onLoadMoreListener
maybe u will like it.
===============Gorgeous dividing line===================
==================================
####linuxubunturepoTerminal ./gradlew -p buildsrc clean build uploadArchives --info
2017/131AOPSysPermissionAspect6.0+
2017/127AOPDbRealmAspectRealm()
2017/19 AOPCheckLoginAspect
2017/18 AptRetrofitApiFactoryRepository
2017/17 DataBindingButterKnife
2017/16 DataBindingViewHolder
2016/1230AptTRouterview
2016/1229BaseMultiVHVHSelectorViewHolder
2016/1228AptApiFactoryModel
2016/1227BaseMultiVHViewHolder
2016/1226CoreAdapterPresenterTRecyclerView
##AOP
##AOP:APT
TRouter
OkBus
1>2aptdagger2>3aop
AOP+MVP+Retrofit+Rxjava+MaterialDesign+LeanCloud+NodeJS
http://www.jianshu.com/p/b49958e1889d
weibohttp://weibo.com/1917320262
Githubhttps://github.com/north2016/T-MVP
googleAs(2.2.2)gradle(AndroidStudiogradleapi)FloatingActionButtonxmliconSVG(5.0+)
as:2.2.2 grade:2.2.3 buildTools:24.0.3
demoidealib
Copyright 2016 north
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.