Skip to content

Instantly share code, notes, and snippets.

@nomisRev
Last active December 12, 2016 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nomisRev/14819d49e4196236f23cb6154293395d to your computer and use it in GitHub Desktop.
Save nomisRev/14819d49e4196236f23cb6154293395d to your computer and use it in GitHub Desktop.
public class MainActivity extends AppCompatActivity {
LinearLayout container;
RecyclerView recycView;
FrameLayout detailContainer;
private MainLayout mainLayout = new MainLayout();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(mainLayout.bind(this));
...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment