Skip to content

Commit

Permalink
Permission dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
rajashakher.valluru committed May 24, 2019
1 parent 21c773c commit c84050e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class MainActivity : AppCompatActivity(), OnConfirmListener {
setContentView(R.layout.activity_main)
val items = ArrayList<DialogItem>()


items.add(DialogItem(resources.getDrawable(R.mipmap.ic_launcher),title = "SMS",description = "Need this permission for read SMS",require = "required"))
items.add(DialogItem(resources.getDrawable(R.mipmap.ic_launcher),title = "Contacts",description = "Need this permission for read SMS",require = "required"))
items.add(DialogItem(resources.getDrawable(R.mipmap.ic_launcher),title = "Location",description = "Need this permission for read SMS",require = "optional"))
Expand Down

0 comments on commit c84050e

Please sign in to comment.