153
reputation
1
1
6

berserk

Android developer and freelancer.

Connect with me at Facebook.

private int dpToPx(int dp) { float density = getActivity().getApplicationContext().getResources() .getDisplayMetrics().density; return Math.round((float) dp * density); }

new TypeToken< ArrayList< YourClass>>() { }.getType();

enter image description here

http://www.nerdtests.com/images/ft/nq/e16a60928b.gif

0
answers
1
question
~75k
people reached
  • India
  • Member for 4 years, 9 months
  • 78 profile views
  • Last seen Mar 28 '18 at 6:28

Top tags (3)

Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top posts (1) All Questions Answers | Votes Newest

Badges (8)

Gold

1

Rarest

Silver

1

Rarest

Bronze

6

Rarest