Skip to content

Instantly share code, notes, and snippets.

@nomisRev
Last active December 12, 2016 12:36
Show Gist options
  • 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