Skip to content

Latest commit

 

History

History
54 lines (49 loc) · 1.45 KB

File metadata and controls

54 lines (49 loc) · 1.45 KB

Android SQLLite Tabel To Excel Library

This libarary helps you to convert your current android database into an excel sheet and you can choose where to store your file in shared storage

How To Use ❓

-Using in AppCompatActivity

val sqlLiteDataBaseToExcel = SqlLiteDataBaseToExcel(activity = this,
                                                    fragment = null, 
                                                    cursor = cursor,
                                                    name = "tableName")

-Using in fragment

val sqlLiteDataBaseToExcel = SqlLiteDataBaseToExcel(activity = null,
                                                    fragment = this,
                                                    cursor = cursor,
                                                    name = "tableName")

Implementation

<repositories>
   <repository>
     <id>jitpack.io</id>
     <url>https://jitpack.io</url>
   </repository>
</repositories>
Step 2. Add the dependency
<dependency>
	    <groupId>com.github.Aniket752</groupId>
	    <artifactId>sqlLiteToExcel</artifactId>
	    <version>1.0.0</version>
	</dependency>

gradle:

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
Step 2. Add the dependency
implementation 'com.github.Aniket752:sqlLiteToExcel:1.0.0'