859
reputation
4
11
24

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

4
answers
11
questions
~169k
people reached
  • India
  • Member for 7 years
  • 160 profile views
  • Last seen Jan 14 at 15:22

Top tags (0)

This user has not participated in any tags.

Top posts (15)

View all questions and answers

Badges (39)

Gold

4

Rarest

Silver

11

Rarest

Bronze

24

Rarest