create account

libdenx by denzcoskun

View this thread on: hive.blogpeakd.comecency.com
· @denzcoskun · (edited)
$0.19
libdenx
![libdenx](https://user-images.githubusercontent.com/15522554/40986568-37d32b00-68ef-11e8-809a-d5497bb1b430.png)

https://github.com/denzcoskun/libdenx

### New Projects
- What is the project about?

Android base structure project is usable submodule. With this library you can write less code and develop faster.

BaseActivity include **onViewReady** and **getLayoutResourceId** functions. 

**onViewReady** works like onCreate. You can write your code here and you can use instead of onCreate.
**getLayoutResourceId** is used to link the class with the layout like setContentView. Actually BaseActivity uses setContentView in background.

You can use with **ButterKnife**.
```java
public class MainActivity extends BaseActivity {
    @Override
    protected void onViewReady(Bundle savedInstanceState, Intent intent) {
        super.onViewReady(savedInstanceState, intent);
    }

    @Override
    protected int getLayoutResourceId() {
        return R.layout.activity_main;
    }
}
```
#### You can add back button:
```java
addBackButton();
```
#### Volley Object Request:
```java
getJsonObject("Your Url", YourModel.class, result -> {
     //result is your response model. You can use here.       
});
 ```
#### Volley Array Request:
```java
getJsonArray("Your Url", result -> {
    // result is your response array. You can use here.
 });
 ```
 #### Check Internet Connection:
 ```java
  isNetworkConnected();
 ```
#### Show Toast Message:
```java
showMessage(int Message);
//or
showMessage(String Message);
 ```
#### Libraries used:
```gradle
implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.android.volley:volley:1.1.0'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.8.5'
implementation 'com.fasterxml.jackson.core:jackson-core:2.8.5'
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.8.5' 
```
#  How to use?

#### This is not use alone project. You must use it like **submodule**.
```gradle
git submodule add https://github.com/denzcoskun/libdenx.git
```

#### Add libdenx to **Setting.gradle** file
```gradle
include ':app', ':libdenx'
```

#### Implement libdenx to **Build.gradle** file
```gradle
implementation project(path: ':libdenx')
```

You can use this project now.


- Technology Stack

Java programming language was used.

- Roadmap

The projects we use will develop in this project in line with our needs.

- How to contribute?

Contributors can be in touch with me on these platforms.

https://github.com/denzcoskun

https://www.linkedin.com/in/deniz-co%C5%9Fkun-02180895
👍  , , , , , , , , , , , , , , , ,
properties (23)
authordenzcoskun
permlinklibdenx
categoryutopian-io
json_metadata{"tags":["utopian-io","development","open-source","android"],"image":["https://user-images.githubusercontent.com/15522554/40986568-37d32b00-68ef-11e8-809a-d5497bb1b430.png"],"links":["https://github.com/denzcoskun/libdenx","https://github.com/denzcoskun","https://www.linkedin.com/in/deniz-co%C5%9Fkun-02180895"],"app":"steemit/0.1","format":"markdown"}
created2018-06-05 17:17:27
last_update2018-06-05 18:17:18
depth0
children4
last_payout2018-06-12 17:17:27
cashout_time1969-12-31 23:59:59
total_payout_value0.162 HBD
curator_payout_value0.028 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,661
author_reputation660,179,536,322
root_titlelibdenx
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,403,496
net_rshares63,937,455,628
author_curate_reward""
vote details (17)
@codingdefined ·
Thank you for your contribution. As in a current state, we do not see any uniqueness in the project and also the feature added is quite less. Please try to add more features and make it unique for th next contribution.


Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

---- 
Need help? Write a ticket on https://support.utopian.io/. 
Chat with us on [Discord](https://discord.gg/uTyJkNm). 
[[utopian-moderator]](https://join.utopian.io/)
properties (22)
authorcodingdefined
permlinkre-denzcoskun-libdenx-20180609t112037924z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2018-06-09 11:20:39
last_update2018-06-09 11:20:39
depth1
children0
last_payout2018-06-16 11:20:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length580
author_reputation534,809,044,305,267
root_titlelibdenx
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,978,702
net_rshares0
@steemitboard ·
Congratulations @denzcoskun! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/voted.png)](http://steemitboard.com/@denzcoskun) Award for the number of upvotes received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>


To support your work, I also upvoted your post!


> Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-denzcoskun-20180606t072433000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-06-06 07:24:33
last_update2018-06-06 07:24:33
depth1
children0
last_payout2018-06-13 07:24:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length723
author_reputation38,975,615,169,260
root_titlelibdenx
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id59,490,124
net_rshares0
@steemitboard ·
Congratulations @denzcoskun! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@denzcoskun/birthday1.png</td><td>Happy Birthday! - You are on the Steem blockchain for 1 year!</td></tr></table>

<sub>_[Click here to view your Board](https://steemitboard.com/@denzcoskun)_</sub>


> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-denzcoskun-20190206t205903000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2019-02-06 20:59:03
last_update2019-02-06 20:59:03
depth1
children0
last_payout2019-02-13 20:59:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length543
author_reputation38,975,615,169,260
root_titlelibdenx
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id79,497,650
net_rshares0
@steemitboard ·
Congratulations @denzcoskun! You received a personal award!

<table><tr><td>https://steemitimages.com/70x70/http://steemitboard.com/@denzcoskun/birthday2.png</td><td>Happy Birthday! - You are on the Steem blockchain for 2 years!</td></tr></table>

<sub>_You can view [your badges on your Steem Board](https://steemitboard.com/@denzcoskun) and compare to others on the [Steem Ranking](https://steemitboard.com/ranking/index.php?name=denzcoskun)_</sub>


**Do not miss the last post from @steemitboard:**
<table><tr><td><a href="https://steemit.com/steemitboard/@steemitboard/steemitboard-ranking-update-a-better-rich-list-comparator"><img src="https://steemitimages.com/64x128/https://cdn.steemitimages.com/DQmfRVpHQhLDhnjDtqck8GPv9NPvNKPfMsDaAFDE1D9Er2Z/header_ranking.png"></a></td><td><a href="https://steemit.com/steemitboard/@steemitboard/steemitboard-ranking-update-a-better-rich-list-comparator">SteemitBoard Ranking update - A better rich list comparator</a></td></tr></table>

###### [Vote for @Steemitboard as a witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1) to get one more award and increased upvotes!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-denzcoskun-20200206t205157000z
categoryutopian-io
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2020-02-06 20:51:57
last_update2020-02-06 20:51:57
depth1
children0
last_payout2020-02-13 20:51:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,160
author_reputation38,975,615,169,260
root_titlelibdenx
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id95,177,180
net_rshares0