Korea Software HRD Center

Slides:



Advertisements
Similar presentations
Android UserInterfaces Nasrullah Niazi. overView All user interface elements in an Android app are built using View and ViewGroup objects. A View is an.
Advertisements

Android Selection Widgets Yuliana Setiowati Rizky Yuniar Hakkun 1Politeknik Elektronika Negeri Surabaya.
Unlocking Android Chapter 4.  Understanding activities and views  Exploring the Activity lifecycle  Working with resources  Defining the AndroidManifest.xml.
 User Interface - Raeha Sandalwala.  Introduction to UI  Layouts  UI Controls  Menus and ‘Toasts’  Notifications  Other interesting UIs ◦ ListView.
User Interface Classes.  Design Principles  Views & Layouts  Event Handling  Menus  Dialogs.
CS378 - Mobile Computing User Interface Basics MIKE!! LOOK HERE FOR intercepting the ListView items:
Presenting Lists of Data. Lists of Data Issues involved – unknown number of elements – allowing the user to scroll Data sources – most common ArrayList.
Android: Layouts David Meredith
Prerequisites Android Studio – io.html io.html Java.
Frank Xu Gannon University.  Linear Layout  Relative Layout  Table Layout.
Mobile Computing Lecture#11 Adapters and Dialogs.
ListView.
Android Boot Camp for Developers Using Java, Comprehensive: A Guide to Creating Your First Android Apps Chapter 7: Reveal! Displaying Pictures in a GridView.
User Interfaces: Part 1 (View Groups and Layouts).
Chapter 7: Reveal! Displaying Pictures in a Gallery.
Copyright© Jeffrey Jongko, Ateneo de Manila University Custom ListAdapters.
DKU-MUST Mobile ICT Education Center 11. AdapterView.
datasourc e + itemRenderer + layout Storag e Data Source.
ListView and ExpandableListView
Adapters 1 CS440. Adapters (again!)  Adapters are bridging classes, that bind data to user-interface Views. The adapter is responsible for creating the.
1 Android Development Lean and mean introduction Based on a presentation by Mihail L. Sichitiu.
CS378 - Mobile Computing User Interface Basics. User Interface Elements View – Control – ViewGroup Layout Widget (Compound Control) Many pre built Views.
Building User Interfaces Basic Applications
CHAPTER 9 File Storage Shared Preferences SQLite.
Building User Interfaces and Basic Applications Chapter 2 1.
Http :// developer. android. com / guide / topics / fundamentals. html.
CS371m - Mobile Computing User Interface Basics. UI Programming with Widgets Widget is an element in a Graphical User Interface (GUI) – not to be confused.
Android intro Building UI #1: basics. UI layout.xml Controls Layouts AdapterViews Toasts dp/sp/px Animations 2.
CMPE419 Mobile Application Development Asst.Prof.Dr.Ahmet Ünveren SPRING Computer Engineering Department Asst.Prof.Dr.Ahmet Ünveren
Điều trị chống huyết khối trong tai biến mạch máu não
Quantum-classical transition in optical twin beams and experimental applications to quantum metrology Ivano Ruo-Berchera Frascati.
Waves and Sound Physics Unit 7 Physics Unit 7.
A little math, a little physics
Massachusetts Institute of Technology
Pre Public Examination
Android 9: Layouts Kirk Scott.
Metabolism and Bioenergetics
Shortest Paths Readings? Chapter 28
PEOPLE! THE BUSINESS OF MUSIC…
The Lancet Series on Maternal and Child Nutrition
Advanced Programming Language Features and Software Engineering: Friend or Foe? Greg Sullivan, AI Lab Programming Languages and Software.
New predictive and diagnostic biomarkers for preeclampsia
Curriculum and technology: Today and tomorrow
Android Mobile Applications Course Introduction
CS499 – Mobile Application Development
Mobile Application Development BSCS-7 Lecture # 9
Android 9: Layouts Kirk Scott.
Customizaiton of Layouts
Android Development: Advanced Widgets using Adapters
Lists, Navigation How and why.
CS371m - Mobile Computing User Interface Basics.
CS371m - Mobile Computing User Interface Basics.
Android ListView Demo.
ANDROID LISTS.
Android Lists and Fragments
Building User Interfaces Basic Applications
Android Topics Custom ArrayAdapters
Android Topics Custom ArrayAdapters Creating an Event Listener
HNDIT2417 Mobile Application Development
ListView ? BaseAdapter ?.
Reactive Android Development
ListView A view that shows items in a vertically scrolling list. The items come from the ListAdapter associated with this view. ListAdapter is used to.
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
Korea Software HRD Center
មជ្ឈមណ្ឌលកូរ៉េ សហ្វវែរ អេច អ ឌី
Presentation transcript:

Korea Software HRD Center វគ្គសិក្សា Android ជាភាសាខ្មែរ រៀបរៀងដោយ ៖ កុ្រម Android រក្សាសិទ្ធ ៖ Korea Software HRD Center Korea Software HRD Center

មាតិកា www.kshrd.com.kh ១. Adapter View /Adapter ២. List View ៣. Single Choice List ​View ៤. Multiple Choice ListView www.kshrd.com.kh

១ Adapter View វាគឺជា container ​ដែល​ផ្ទុក view objects (list items)។​ AdapterView គឺជា child class ​របស់ ViewGroup។ View ViewGroup AdapterView

១ Adapter View យើងអាចទាញយកទិន្នន័យពី Cursor ឬ ArrayList ​មករៀបចំ Adapter ​មុននឹងយកទៅបង្ហាញដល់អ្នកប្រើប្រាស់។ AdapterView ListView GridView Spinner Gallery

១ Adapter View ក្រៅពីបង្ហាញទិន្នន័យហើយ Adapter View ​ក៏អនុញ្ញាតអោយអ្នកប្រើប្រាស់មានទំនាក់​ទំនងជាមួយទិន្នន័យបាន​ដែរ ដូចជាការ​ជ្រើសរើសយកធាតុណាមួយពី View។ បំពេញទិន្នន័យទៅអោយ List view ចាប់យកធាតុនីមួយៗរបស់ List

១ Adapter Adapter DataSource ListView List View Cursor ArrayList Grid View Spinner

២ List View បង្ហាញទិន្នន័យជាជួរដេកនៅលើ list view។ ទិន្នន័យដែលបង្ហាញគឺតាមរយៈ ListAdapter។

២ List View ជំហាន់ទី១៖ កំណត់ Array ឬ Data Source ជំហាន់ទី២៖ កំណត់ Layout Single View សំរាប់ ListAdapter ជំហាន់ទី៣៖ កំណត់ functionពេល User ​មាន​ទំនាក់ទំនងជាមួយ row នីមួយៗ

៣ Single Choice List View Single Choice Listview វាគឺជា Listview មួយដែលអាចអោយអ្នកប្រើប្រាស់ធ្វើការជ្រើសរើសយកទិន្នន័យណាមួយ នៅក្នុង Listview នោះ។ ដើម្បីអោយ Listview របស់យើងក្លាយជា Single Choice Listview អ្នកត្រូវមាន៖ ArrayAdapter មួយដែលមាន resource ជា android.R.layout.simple_list_item_single_choice setChoiceMode ដែលកំណត់ Listview ជាប្រភេទ CHOICE_MODE_SINGLE

៤ Multiple Choices List View Multiple Choice Listview វាគឺជា Listviewមួយដែលអាចអោយអ្នកប្រើប្រាស់ធ្វើការជ្រើសរើសយកទិន្នន័យបានច្រើន នៅក្នុងListview នោះ។ ដើម្បីអោយ Listview របស់យើងក្លាយជា Mutiple Choice Listview អ្នក ត្រូវមាន៖ ArrayAdapter មួយដែលមាន resource ជា android.R.layout.simple_list_item_multiple_choice setChoiceMode ដែលកំណត់ Listview ជាប្រភេទ CHOICE_MODE_MUTIPLE

សមាជិក ក្រុមអ្នកស្រាវជ្រាវ ក្រុមផលិតវីដេអូ Mr. Chang Pumeoung chang.pumeoung@gmail.com Mr. Menh Sowattana menhsowattana168@gmail.com Mr. Choeung Bunna bunnach@gmail.com Ms. Pen Voneat penvoneat@gmail.com Lee Koui Pheng lee.pheng.galaxy@gmail.com Mr. Horn Daneth horndaneth3@gmail.com Mr. Nguon Youty nguonyouty@gmail.com Chheng Kaoly chhengkaoly@gmail.com Mr. Khov Ea Hang Khov.eahang@gmail.com Mr. Sous Veasna veasnasous@yahoo.com

មេរៀនបន្ទាប់ នឹងធ្វើការបង្ហាញពី ​ Notification & Toast