AboutIt

Additional

Language
Java
Version
v1.2.1 (Oct 10, 2015)
Created
Dec 31, 2014
Updated
Feb 25, 2016 (Retired)
Owner
Victor Häggqvist (victorhaggqvist)
Contributors
Cheesebaron
Victor Häggqvist (victorhaggqvist)
2
Activity
Badge
Generate
Download
Source code

Advertising

AboutIt

A About-page creator

Install

From Maven Central

compile 'com.snilius.aboutit:aboutit:VERSION@aar'

Optionally one may also add the meta module to get some common library presets for free, like Retrofit, Gson, OkHttp, Glide and some more. Current version:

compile 'com.snilius.aboutit:aboutit-meta:VERSION@aar'

Sample

A complete sample

new AboutIt(this).app(R.string.app_name)
    .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME)
    .copyright("Example Business")
    .libLicense("AboutIt", "Victor Häggqvist", L.AP2, "https://github.com/victorhaggqvist/aboutit")
    .libLicense(new LibTimber()) // requires aboutit-meta module
    .toTextView(R.id.about_text);

Just the dynamic version name and copyright year display

new AboutIt(this).app("My App")
        .buildInfo(BuildConfig.DEBUG, BuildConfig.VERSION_CODE, BuildConfig.VERSION_NAME)
        .copyright("Example Business")
        .toTextView(R.id.about_text);

The code for these samples are all in the sample app here.

License

Copyright 2014-2015 Victor Häggqvist

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.