question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Need proper naming convention for xml view ids

See original GitHub issue

Currently xml files have ids which are similar to ids in other xml files too. We should actually create a contention following which we always have using view ids. For example: home_promoted_story_topic_name_text_view recently_played_ongoing_story_topic_name_text_view

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
rt4914commented, Apr 10, 2020

@rt4914 Can I work on it?

@anandwana001 Assigned to you, but make sure that you do this package-wise so that it becomes easier to manage. Meaning in each PR you can finish 2-3 activities.

1reaction
rt4914commented, Apr 9, 2020

for this issue are we going to convert all at once or we will go feature-wise/module wise?

Module wise like home first and then player, etc.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Best practices for ID naming conventions in Android? [closed]
I am curious what the best practice is for naming IDs for the various items in Design View on Android Studio. Right now...
Read more >
ID's Layouts Resource file naming — Android ...
Technique — Naming Convention · Layouts (Kind — Activity, fragment, view, item, layout) Choose the prefix based on what kind it is followed...
Read more >
Android Handbook | Building quality apps / Naming
All naming has to be simple, clear and mnemonic (short and meaningful). The Infinum Code Style has to be imported into the Android...
Read more >
A successful XML naming convention
For IDs, <WHAT> is the class name of the xml element it belongs to. Next is the screen the ID is in, followed...
Read more >
How do you name your view ids? : r/androiddev
Wait, what are you agreeing to? I still don't know what conventions are being broken. Even Android's framework resource IDs use camel-case and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found