Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Rules for arrangement methods by name

$
0
0

Hello there, I try to arrange methods in following order:

 

  1. onAttach(Activity)
  2. onCreate(Bundle)
  3. onCreateView(LayoutInflater, ViewGroup, Bundle)
  4. onActivityCreated(Bundle)
  5. onViewStateRestored(Bundle)
  6. onStart()
  7. etc.

 

 

But I don't know what rules should I apply to achive this. I tried following patterns onAttach, onAttach.*, .*onAttach.* and nothing helps. Thats why any help would be appreceated.


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>