D
D
Danil Grishchenko2015-12-29 01:05:40
Java
Danil Grishchenko, 2015-12-29 01:05:40

How to create method in onCreate method?

I need to create another method in the onCreate method so that I can run another one in this onCreate method.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Prokhorov, 2015-12-29
@Vadik052

Maybe I misunderstood the same thing, but - Create a method and write in it what you need -

void functionName(){
//Ваш код
}

And in the onCreate method you call it -
functionName();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question