-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Divyang067/staging
Staging
- Loading branch information
Showing
42 changed files
with
467 additions
and
424 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,77 @@ | ||
# Retrofit-And-Filter-Data | ||
Android project includes following | ||
1. Web api calling through retrofit library | ||
2. Image loading using glide library | ||
3. Filter data using guava library | ||
|
||
## User List Screen | ||
<img | ||
src="https://user-images.githubusercontent.com/15336519/215684423-02e9e1d3-1763-448d-a15e-c837af16957b.png" | ||
align="left" | ||
width="170" hspace="10" vspace="10"> | ||
|
||
![device-2019-08-29-133541](https://user-images.githubusercontent.com/15336519/63922790-fc4cad00-ca62-11e9-8d97-3bcc1fc3c68d.png) | ||
Android project includes with following topics | ||
|
||
- Web api calling through retrofit library | ||
- Image loading using glide library | ||
- Filter data using guava library | ||
- Action bar with menu option | ||
<br/> | ||
|
||
## Filter User Data | ||
|
||
![device-2019-08-29-133603](https://user-images.githubusercontent.com/15336519/63922825-0d95b980-ca63-11e9-8f14-f8b49fcd320c.png) | ||
**Retrofit And Filter Data** application is available on the Google Play Store | ||
|
||
<p align="left"> | ||
<a href="https://play.google.com/store/apps/details?id=com.divyang067.retrofitandfilterdata"> | ||
<img alt="Get it on Google Play" | ||
height="110" hspace="30" | ||
src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png" /> | ||
</a> | ||
<a href="https://play.google.com/store/apps/details?id=com.divyang067.retrofitandfilterdata"> | ||
<img alt="Get it on Google Play By Scan QR Code" src="https://user-images.githubusercontent.com/15336519/215570464-b40736f7-c3ab-4f9a-b259-c82eeebdb5ce.png" height="110" hspace="30" /> | ||
</a> | ||
</p> | ||
|
||
## Screenshots | ||
|
||
<table align="center"> | ||
<thead> | ||
<tr> | ||
<th>User List Screen</th> | ||
<th>Filter User Data</th> | ||
<th>Pull To Refresh Data</th> | ||
<th>About Screen</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td align="center"><img src="https://user-images.githubusercontent.com/15336519/215837515-a90a2907-d38c-4063-8752-ccf1f03c1969.png" width="170" /></td> | ||
<td align="center"><img src="https://user-images.githubusercontent.com/15336519/215837867-98853c19-3159-4b41-88ab-6229f4aa221b.png" width="170" /> </td> | ||
<td align="center"><img src="https://user-images.githubusercontent.com/15336519/215838076-bc783807-a963-4e8a-bad7-868d18149ef7.png" width="170" /></td> | ||
<td align="center"><img src="https://user-images.githubusercontent.com/15336519/215838172-584e50a7-1e1e-44ad-a63d-d4e14abe6043.png" width="170" /></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
|
||
## Github Link | ||
|
||
Android project source code available on github. Click link to redirect page of source code.<br/> | ||
link : https://github.com/Divyang067/Retrofit-And-Filter-Data | ||
|
||
Also you can scan QR code to redirect source code link<br/> | ||
<img src="https://user-images.githubusercontent.com/15336519/215565138-6f160acd-9159-49a1-870a-2d5f10d15e14.png" width="200" height="200"/> | ||
|
||
## Download App | ||
|
||
You can direct scan below QR code to download application from google play store or click on google | ||
play store icon image. | ||
|
||
|
||
<p align="center"> | ||
<a href="https://play.google.com/store/apps/details?id=com.divyang067.retrofitandfilterdata"> | ||
<img src="https://user-images.githubusercontent.com/15336519/215570464-b40736f7-c3ab-4f9a-b259-c82eeebdb5ce.png" width="200" height="200" align="left" hspace="10" vspace="10"/> | ||
</a> | ||
<a href="https://play.google.com/store/apps/details?id=com.divyang067.retrofitandfilterdata"> | ||
<img alt="Get it on Google Play" | ||
height="200" | ||
src="https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png" /> | ||
</a> | ||
</p> | ||
<br/> | ||
|
||
**Thanks** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 7 additions & 6 deletions
13
app/src/main/java/com/divyang067/retrofitandfilterdata/App.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
package com.divyang067.retrofitandfilterdata; | ||
|
||
import android.app.Application; | ||
import android.content.Context; | ||
|
||
import androidx.multidex.MultiDexApplication; | ||
|
||
/** | ||
* Created by divyang067 on 2019/08/29. | ||
* | ||
* @author Divyang Patel | ||
* <p> | ||
* application class | ||
*/ | ||
public class App extends Application { | ||
public class App extends MultiDexApplication { | ||
|
||
//context | ||
private static Context context; | ||
private static App appInstance; | ||
|
||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
context = this; | ||
appInstance = this; | ||
} | ||
|
||
/** | ||
* get application context | ||
* | ||
* @return | ||
* @return application context | ||
*/ | ||
public static Context getAppContext() { | ||
return context; | ||
return appInstance.getApplicationContext(); | ||
} | ||
} |
1 change: 0 additions & 1 deletion
1
app/src/main/java/com/divyang067/retrofitandfilterdata/model/Contact.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
package com.divyang067.retrofitandfilterdata.model; | ||
|
||
import com.google.gson.annotations.Expose; | ||
|
1 change: 0 additions & 1 deletion
1
app/src/main/java/com/divyang067/retrofitandfilterdata/model/GetUserListRs.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
package com.divyang067.retrofitandfilterdata.model; | ||
|
||
import java.util.List; | ||
|
1 change: 0 additions & 1 deletion
1
app/src/main/java/com/divyang067/retrofitandfilterdata/model/Phone.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
package com.divyang067.retrofitandfilterdata.model; | ||
|
||
import android.text.TextUtils; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
app/src/main/java/com/divyang067/retrofitandfilterdata/ui/activity/AboutActivity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
package com.divyang067.retrofitandfilterdata.ui.activity; | ||
|
||
import android.os.Bundle; | ||
|
||
import androidx.databinding.DataBindingUtil; | ||
|
||
import com.divyang067.retrofitandfilterdata.R; | ||
import com.divyang067.retrofitandfilterdata.databinding.ActivityAboutBinding; | ||
|
||
/** | ||
* Created by divyang067 on 2019/08/29. | ||
* | ||
* @author Divyang Patel | ||
* <p> | ||
* About Activity Class for about screen | ||
*/ | ||
public class AboutActivity extends BaseActivity { | ||
|
||
//binding | ||
private ActivityAboutBinding binding; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
binding = DataBindingUtil.setContentView(this, R.layout.activity_about); | ||
|
||
initListener(); | ||
setData(); | ||
} | ||
|
||
/** | ||
* initialization listener | ||
*/ | ||
private void initListener() { | ||
|
||
} | ||
|
||
/** | ||
* set data | ||
*/ | ||
private void setData() { | ||
getSupportActionBar().setDisplayHomeAsUpEnabled(true); | ||
getSupportActionBar().setDisplayShowHomeEnabled(true); | ||
} | ||
|
||
@Override | ||
public boolean onSupportNavigateUp() { | ||
finish(); | ||
return true; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.