Back to project page TrackEveryPenny.
The source code is released under:
Apache License
If you think the Android project TrackEveryPenny listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ca.jbrains.upfp.presenter; /*from w ww.ja v a2 s. co m*/ import ca.jbrains.upfp.model.BrowseTransactionsModel; import ca.jbrains.upfp.view.BrowseTransactionsView; public class BrowseTransactionsPresenter implements RendersView { private final BrowseTransactionsModel model; private final BrowseTransactionsView view; public BrowseTransactionsPresenter( BrowseTransactionsModel model, BrowseTransactionsView view ) { this.model = model; this.view = view; } public void render() { view.displayNumberOfTransactions( model.countTransactions()); } }