403
reputation
3
9

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

1
answer
3
questions
~335
people reached
  • India
  • Member for 4 years, 9 months
  • 161 profile views
  • Last seen Oct 31 at 8:06

Top tags (6)

Score 2
Posts 4
Posts % 100
Score 2
Posts 3
Score 2
Posts 2
Score 2
Posts 2
Score 0
Posts 1
Score 0
Posts 1

Top posts (4) All Questions Answers | Votes Newest

Badges (12)

Gold

Silver

3

Rarest

Bronze

9

Rarest