153
reputation
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
~2k
people reached
  • India
  • Member for 3 years, 9 months
  • 3 profile views
  • Last seen Apr 29 at 22:51

Top tags (2)

Score 0
Posts 1
Score 0
Posts 1

Top posts (1)

Badges (6)

Gold

Silver

Bronze

6

Rarest