1. Are you ready for the Galaxy S20? Here is everything we know so far!

Trouble with programming navigation drawer in android studio

Discussion in 'Android Development' started by christiaan89, Dec 25, 2019.

  1. christiaan89

    christiaan89 Lurker
    Thread Starter

    Hello all,

    I can't get a simple widget working in a navigation drawer project in Android studio.

    I want when the user clicked on the ImageView that the number in textView1 is increaesed by one, and that the next image will be shown.

    how can I get that work!
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Deleted User

    Deleted User Guest

    If you can provide access to your code on Github I can import the project and see if I can spot what your problem is.
     
  3. christiaan89

    christiaan89 Lurker
    Thread Starter

    And how can I do that?
     
  4. Deleted User

    Deleted User Guest

  5. christiaan89

    christiaan89 Lurker
    Thread Starter

    Can't i upload a archive file here? That can I do first thung in the morning. The Github thung I need to figure it first out and i have to make an empty project with some info in it for you to understand
     
  6. christiaan89

    christiaan89 Lurker
    Thread Starter

    I can't get github working... so here is an archive file.
     

    Attached Files:

  7. christiaan89

    christiaan89 Lurker
    Thread Starter

  8. christiaan89

    christiaan89 Lurker
    Thread Starter

  9. Deleted User

    Deleted User Guest

    I did load up your project, but unfortunately was not able to build it, due to various configuration problems. In any case I do all my Android coding in Java, and I'm not that familiar with Kotlin. Sorry.
    You may want to post here the relevant code snippets concerned with updating the Textview. Someone might be able to spot your problem.
     
Loading...

Share This Page

Loading...