Context-Menu.Android

Context-Menu.Android

Source code introduction

Screenshot of excellent source code running on Git

Source code snippet

  1. protected   void onCreate(Bundle savedInstanceState) {
  2. super .onCreate(savedInstanceState);
  3. setContentView(R.layout.activity_main);
  4. fragmentManager = getSupportFragmentManager();
  5. initToolbar();
  6. mMenuDialogFragment = ContextMenuDialogFragment.newInstance(( int ) getResources().getDimension(R.dimen.tool_bar_height), getMenuObjects());
  7. addFragment( new MainFragment(), true , R.id.container);
  8. }

Source code link: http://download..com/data/1983058

<<:  Zxing scan code example

>>:  CircleList (arc-shaped ListView)

Recommend

Monkeypox Science | The "monkey" in monkeypox is not the "monkey" in monkey

On June 24, Taiwan’s Centers for Disease Control ...

A look at the new “her economy” led by Meitu Beauty AI from Black Friday

From the moment we are born, we have more or less...

Who is the suitable group for Wenchang Tower?

Wenchang Tower applicable scope: (WeChat: 1867393...

Practice: How to use data mining to convince your client?

This article is written at a milestone moment. On...

It turns out that "price-performance ratio" is a scam

All Chinese people are like Zhuge Liang, so smart...