Skip to content

Conversation

@nafarya
Copy link
Owner

@nafarya nafarya commented Jul 22, 2016

add database

*/
public class ArtistFragment extends Fragment {

private TextView large_text;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Java code convention. Никаких _, исключение только константы.

allColumns, null, null, null, null, null);

cursor.moveToFirst();
while (!cursor.isAfterLast()) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я даже не знал, что есть такой метод)))

  Cursor cursor = database.query
  while(cursor. moveToNext()) {
     // do
  }
  cusror.close()

@nafarya
Copy link
Owner Author

nafarya commented Aug 11, 2016

@rgrigoryev
отрефакторил

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants