An open API service indexing awesome lists of open source software.

https://github.com/utsavdotpro/materialerrorview

Simple icon + title + text + button type ErrorView on Material.io
https://github.com/utsavdotpro/materialerrorview

android android-library error-view material-ui ui-component

Last synced: about 1 month ago
JSON representation

Simple icon + title + text + button type ErrorView on Material.io

Awesome Lists containing this project

README

          

[![](https://jitpack.io/v/u-barnwal/MaterialErrorView.svg)](https://jitpack.io/#u-barnwal/MaterialErrorView)
# MaterialErrorView
UI Component. Simple horizontal divider with title for android.

## Sample

## Implementation
**Step 1:** Add to project level build.gradle

allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}

**Step 2:** Add to app level build.gradle

dependencies {
implementation 'com.github.u-barnwal:MaterialErrorView:VERSION'
}
## How to use
**Create view**

**Setting action**

MaterialErrorView mev = findViewById(R.id.mev);

mev.setActionCallback(o -> {
Toast.makeText(this, "Performing the action!", Toast.LENGTH_SHORT).show()
});

## Features

- Fully adaptive
- Lightweight

## Links
- Live example
- https://pricelistlite.isolpro.in
- https://transactionslistlite.isolpro.in