An android library: collection of reusable views, fragments, activities, drawables and other utilities.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
myactivities
mydrawables
myfragments
myloggers
myres
myutils
myviews
.gitignore
LICENSE.txt
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
picon.py
settings.gradle

README.md

My Blocks

IMPORTANT: this is old Java version. For new Kotlin version see: My Intent

An Android library: Collection of reusable views, fragments, activities, drawables and other utilities.

It is divided into seven modules:

  • myactivities
  • myfragments
  • myviews
  • mydrawables
  • myres
  • myloggers
  • myutils

You can use any of these through JITPack:

Gradle Dependencies

Add following repository to your app build.gradle file:

repositories {
    maven { url "https://jitpack.io" }
}

Then add dependencies to My Blocks modules you want:

dependencies {
    // ... other dependencies here
    compile 'com.github.langara.MyBlocks:myactivities:v1.0.2-alpha'
    }
}

Change myactivities to module you want. The myactivities module depends on all other modules, so you don't have to add anything else if you add this one.

Examples

Check out these applications to find out what you can do with My Blocks library:

TODO: real documentation...