An Android View which show data of cryptocurrency.
A Quick look:
You can opt for 1636 coins available in the market.
It`s very easy to take into use.
Step 1. Add it in your root build.gradle at the end of repositories
allprojects {
repositories {
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.bxute:CryptoCoinView:v0.6'
}
Step 3. Add XML to your view
<xute.cryptocoinview.CoinView
android:id="@+id/coinViewSBD"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
We recommend you to keep the width
as match_parent
for a better view.
Step 4. Instantiate in Activity
CoinView sbd = findViewById(R.id.coinViewSBD);
sbd.setCoinId(Coins.SBD);
That`s It 😀.
As a result you will get