Skip to content

Commit

Permalink
Cleanup binding declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Florianisme committed Jan 31, 2022
1 parent 205c0c3 commit b00b623
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@
public class MainActivity extends AppCompatActivity {

private AppBarConfiguration appBarConfiguration;
private ActivityMainBinding binding;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

binding = ActivityMainBinding.inflate(getLayoutInflater());
ActivityMainBinding binding = ActivityMainBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());

setSupportActionBar(binding.toolbar);
Expand Down

0 comments on commit b00b623

Please sign in to comment.