Search in sources :

Example 1 with BuildView

use of com.khmelenko.lab.varis.widget.BuildView in project Varis-Android by dkhmelenko.

the class BuildDetailsActivity method showBuildDetails.

/**
     * Shows build details
     *
     * @param details Build details
     */
private void showBuildDetails(BuildDetails details) {
    Build build = details.getBuild();
    Commit commit = details.getCommit();
    BuildView buildView = (BuildView) findViewById(R.id.build_details_build_data);
    buildView.setState(build);
    buildView.setCommit(commit);
}
Also used : BuildView(com.khmelenko.lab.varis.widget.BuildView) Commit(com.khmelenko.lab.varis.network.response.Commit) Build(com.khmelenko.lab.varis.network.response.Build)

Aggregations

Build (com.khmelenko.lab.varis.network.response.Build)1 Commit (com.khmelenko.lab.varis.network.response.Commit)1 BuildView (com.khmelenko.lab.varis.widget.BuildView)1