ARMs for Android is a Android App replanting the website of a CitibankCup work. Welcome to STAR/FOLLOW/FORK!
In this program, we focus on the structure and module design of the application instead of the algo and content of it.
- MVP (Model+View+Presenter) Structure A better structure uncoupling between layers, Introduced by Google.
- Material Design For a new vision experience.
- JakeWharton/Butterknife Field and method binding for Android views.
class ExampleActivity extends Activity {
@BindView(R.id.title) TextView title;
@BindView(R.id.subtitle) TextView subtitle;
@BindView(R.id.footer) TextView footer;
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.simple_activity);
ButterKnife.bind(this);
// TODO Use fields...
}
@Onclick(R.id.btn)
void click(View view){
//TODO click event...
}
}
public interface NewsService {
@GET("news")
Observable<NewsResponse> getNewsList(@Query("key_word") String keyword);
}
- ReactiveX/RxJava a Java VM implementation of Reactive Extensions: a library for composing asynchronous and event-based programs by using observable sequences.
public void getPrediction(Subscriber<PredictResponse> subscriber, String lowerGamma, List<String> optionList) {
PredictService predictService = retrofit.create(PredictService.class);
predictService.getPrediction(lowerGamma, optionList)
.subscribeOn(Schedulers.io())
.unsubscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(subscriber);
}
- PhilJay/MPAndroidChart
- aurelhubert/ahbottomnavigation
- ikew0ng/SwipeBackLayout
- DreaminginCodeZH/MaterialProgressBar
- Business college, NJU, China
- Software engineering institute, NJU, China
- AlanDelip @Email Me
Copyright 2016 Alan Delip
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