143
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
~1k
people reached
  • India
  • Member for 3 years, 2 months
  • 1 profile view
  • Last seen Dec 31 '17 at 8:22

Top tags (2)

Score 0
Posts 1
Score 0
Posts 1

Top posts (1) All Questions Answers | Votes Newest

Badges (6)

Gold

Silver

Bronze

6

Rarest