Skip to content

Instantly share code, notes, and snippets.

View yatiksihag01's full-sized avatar
☺️

Yatik yatiksihag01

☺️
View GitHub Profile
public class MainActivity extends AppCompatActivity {
private ActivityMainBinding binding;
ActivityResultLauncher<String> mChoosePhoto;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = ActivityMainBinding.inflate(getLayoutInflater());
setContentView(binding.getRoot());