Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
472
reputation
3
9
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
~106k
people reached
  • India
  • Member for 5 years, 4 months
  • 107 profile views
  • Last seen Apr 7 at 7:55

Top tags (5)

Score 2
Posts 7
Score 1
Posts 1
Score 0
Posts 3
Score 0
Posts 3
Score 0
Posts 1

Top posts (15) All Questions Answers | Votes Newest

View all questions and answers

Badges (36)

Gold

3

Rarest

Silver

9

Rarest

Bronze

24

Rarest