Created
September 10, 2015 11:04
-
-
Save tbillington/92287aa0ca173137f3f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class ViewHolder extends RecyclerView.ViewHolder { | |
public LinearLayout linearLayout; | |
public ImageView image; | |
public TextView headingText; | |
public TextView skillText; | |
public ViewHolder(LinearLayout v) { | |
super(v); | |
linearLayout = v; | |
image = ((ImageView)((ViewGroup)((ViewGroup)((ViewGroup)linearLayout.getChildAt(0)).getChildAt(0)).getChildAt(0)).getChildAt(0)); | |
headingText = ((TextView)((ViewGroup)((ViewGroup)((ViewGroup)linearLayout.getChildAt(0)).getChildAt(0)).getChildAt(0)).getChildAt(1)); | |
skillText = ((TextView)((ViewGroup)((ViewGroup)linearLayout.getChildAt(0)).getChildAt(0)).getChildAt(1)); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment